Ticket #3058 (closed enhancement: fixed)
Make passing of HTML elements into template more elegant
| Reported by: | peller | Owned by: | peller |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0 |
| Component: | Dijit | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
For example, templates must have name=${name} to carry over the name attribute from the original DOM node into the template, and a bogus default value must be supplied. For the textbox widgets, we have stuff like maxLength="999999". If maxLength isn't specified, it would be simpler not to define it.
Bill says we ought to be able to programmatically, in postCreate() just copy attributes to the focusNode instead of putting them in the template.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.