This was considered later on a defect, and not a feature. To preserve markup attributes in your bind use -%> instead of ->
Br's, Marius On Jan 29, 12:38 am, Adam Warski <[email protected]> wrote: > When trying to use datepicker on a form, I found a post (by Derek > Chen-Becker) from august which says: > > "OK, the key there is the entrydate id. If you look at > src/main/webapp/index.html, you'll see the markup in the "Add Entry" form: > > <td><e:dateOf e:id="entrydate" e:maxlength="10"/></td> > > That e:id attribute gets merged so that the resulting element has the > attribute id="entrydate" set (likewise for maxlength). This is a convenient > way of setting attributes on templates that will be bound in your snippets. " > > And I wanted to use this way of setting attributes on elements, but it > doesn't seem to work - no attributes get rendered on the resulting element. > Is this still supported? (the only difference from the example is that I > don't use "e:id" but my own prefix which I then bind to in my snippet) > > -- > Adam Warskihttp://www.warski.orghttp://www.softwaremill.eu -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
