Right ... I think MetaRecord.asHtml should be renamed to toXHtml. This
needs to call Field.toXHtml for each field.

Now when we render a record to a field 2 templates can be used:
1. A default div based template that would suffice for simple forms
2. A user provided template

we should probably apply the same thing for display (toXHtml)

thoughts?

Br's,
Marius

On Nov 24, 2:20 am, "Derek Chen-Becker" <[EMAIL PROTECTED]> wrote:
> I'm writing up the chapter on Record right now (nothing like a moving
> target!) and I just wanted to confirm that the MetaRecord.asHtml is really
> intended to default to NodeSeq.Empty. Since there's a default "template" for
> form generation it seemed a little strange that there isn't a default for
> display. It's also a little confusing, since Field has a toXHtml method on
> it that defaults to a Text node and seems like it would be a perfect
> default.
>
> Thanks,
>
> Derek
--~--~---------~--~----~------------~-------~--~----~
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