Bit of googling and came across some wicket/scala folks having a
similar problem who got around the problem with the following:

  implicit def listToJavaList[T](l: Seq[T]) = l.foldLeft(new
java.util.ArrayList[T](l.size)){(al, e) => al.add(e); al}

and magically I can pull out the value now.  What I can't do now are
pull out an object's properties for example:


#foreach($user in $headers.users)
    hello $user.firstname $user.lastname
#end

I reckon the problem is that Velocity must use bean introspection and
without getters I can't get the values.

--Ewan

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