Hello,

> <a href={myLoc.createDefaultLink}>Foo</a>

but I need the String representation of the link to use it in a 
RedirectResponse (not in a html template). Thus my proposition to have both a 
method to create a String and NodeSeq variants.

> In Scala, if the attribute is an Option[NodeSeq] and it is None, the 
> attribute will not be included where if it's Some(Text("/foo/bar")) it will 
> be included.  Thus the choice of Option rather than Box and the choice of 
> NodeSeq rather than String.

I see, thanks for the explanation.

-- 
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 lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to