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 Warski
http://www.warski.org
http://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.