27 Jun 2012 16:18
[Lift] Attaching CSS class to ajax form using designer friendly template doesn't work
I've noticed that CSS classes added to an AJAX form tag using designer friendly templates don't actually show up in the resulting form tag that Lift produces. The following code results in a form tag with a class of "myClass":
<lift:form.ajax class="myClass">
...
</lift:form.ajax>
However the CSS class is not there in the resulting form tag when using designer friendly templates:
<form class="lift:form.ajax myClass">
...
</form>
Is there a way to add CSS classes to an AJAX form using designer friendly templates?
-- Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
RSS Feed