[Dojo-interest] dijit.form.textbox ID Attribute Issue (Constructor vs. .attr)
j105.rob at gmail.com
Thu Mar 18 14:03:57 EDT 2010
So many of the examples I have seen, and *are* posted on the various sites,
seem to open that up for mis-interpretation.
Specifically.... "If the developer passes an ID" would lead one to believe
that if I pass in an ID then, it will be used.
Thanks for the reply. We can mark this closed.
On Thu, Mar 18, 2010 at 1:58 PM, Peter Higgins <dante at dojotoolkit.org>wrote:
> Rob Weiss wrote:
> > Was the expectation to *NOT* change the id after construction? or was
> > this a miss in the .attr getter/setter implementation?
> Correct. I do not believe updating any widget's ID post-creation is
> It _should_ be reflected in the API docs as a @const:
> // id: [const] String
> // A unique, opaque ID string that can be assigned by users
> or by the
> // system. If the developer passes an ID which is known not to be
> // unique, the specified ID is ignored and the
> system-generated ID is
> // used instead.
> id: "",
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest