Hello,

> > This was considered later on a defect, and not a feature. To preserve
> > markup attributes in your bind use -%> instead of ->
> 
> thanks, although the -%> is missing support for the .toForm, as it returns a 
> Box[NodeSeq]. And for % you need an Elem. Any ideas how to deal with that? :)
> 
> What are you applying toForm to?

In this case it is a MappedDate.
But I've worked around the problem using jquery (all I wanted to do is add the 
datepicker anyway): I can wrap the bound element using a <span 
class="datePicker">...</span>, and then lookup all elements with that class, 
and for each get the child and apply the datepicker creation.

-- 
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.

Reply via email to