I see.
Does Lift actually do so?
Should the others also be a Node?
Doesn't -%> require an Elem?
The question came up because I wanted to do in a LongMappedMapper something like
override def asHtml = obj.dmap("(unknown)")(_.asHtml)
In the end I overrode toString and used _.name (a field -- this change was
necessary anyway).
-------------------------------------
David Pollak<[email protected]> wrote:
On Tue, Feb 2, 2010 at 11:53 AM, Naftoli Gugenheim <[email protected]>wrote:
> Is there a reason why in Mapper, BaseMappedField, and MixableMappedField,
> asHtml is typed to be a NodeSeq, but MappedField overrides it to be a Node?
>
So it can be used with -%>
>
> --
> 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]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
--
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.
--
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.