Re: [Lift] asHtml inconsistency

2010-02-02 Thread Naftoli Gugenheim
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 chan

Re: [Lift] asHtml inconsistency

2010-02-02 Thread David Pollak
On Tue, Feb 2, 2010 at 11:53 AM, Naftoli Gugenheim 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 sub

[Lift] asHtml inconsistency

2010-02-02 Thread Naftoli Gugenheim
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? -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegro