[dojo-contributors] dijit: removing id attributes in favor of widgetid

Robert Coup rcoup at dojotoolkit.org
Fri Aug 31 21:19:07 EDT 2007

On 01/09/2007, Scott J. Miles <sjmiles at turboajax.com> wrote:
> Since the widgetId is guaranteed unique in the document (right?) it also
> makes a perfect DOM id.
> For my $0.02, I would suggest it should be copied on to the node in
> absence of an override.

Are there any cases where the srcNode id *shouldn't* be copied to the
widget domNode? I know we can do it via templates, but I'm just
wondering whether it should be a standard thing - less error prone and
one less hurdle for people to create their own widgets.

Rob :)

More information about the dojo-contributors mailing list