adding attributes to SHtml.ajaxForm

74 views
Skip to first unread message

Lukasz Kuczera

unread,
Aug 26, 2011, 5:08:46 AM8/26/11
to Lift
Hello Lifters,
I'm missing ajaxForm with (String, String)* argument to add class,
style, id attributes to generated form. I have workarounded that by:
ajaxForm(
<div>
mystuff ...
</div>) % new UnprefixedAttribute("class","styled",Null)

It would be nice to add this tiny improvement. Can I create ticket for
that ?

Lukasz Kuczera

unread,
Aug 26, 2011, 5:11:05 AM8/26/11
to Lift
Ok so it is now ElemAttr* but there must be implicit for that
somewhere around, good to know that api changed :)

David Pollak

unread,
Aug 26, 2011, 9:34:58 AM8/26/11
to lif...@googlegroups.com

Go right ahead... just add the ElemAttr* to the various ajaxForm/jsonForm methods and code them up.
 

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Reply all
Reply to author
Forward
0 new messages