[email protected] said the following on 03/14/2012 03:23 PM:
I am trying to use the HTML 5 data-value attribute with the form
custom tag library but when it renders the form field the data-value
attribute is not rendered. I tried putting the x namespace in front of
it but that renders the attribute data instead of data-value. I image
because of the "-". I even tried tweaking the tag library and adding
data-value to the setStandardAttributes method with no luck. We are
trying to get to alpha with this form today so any help would be huge!
Even if it is just a how-to on tweaking the baseTagBuilder. Thanks in
advance.
Brandon
More than likely it's that the CFML engine doesn't like th "-" in the
attribute name. Which engine are you using?
You could use dataValue and in the setStandardAttributes convert that to
output "data-value".
What are the new HTML attributes exactly? I haven't had time to upgrade
the tag libs yet.
.pjf
--
Peter J. Farrell
OpenBD Steering Committee / Mach-II Lead Developer
[email protected]
[email protected]
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp
--
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/