tis done: http://www.assembla.com/spaces/liftweb/tickets/350



bearfeeder wrote:
> 
> On Tue, Feb 16, 2010 at 12:44 AM, Channing Walton
> <channingwal...@mac.com>wrote:
> 
>>
>> thats fine for individual fields of a mapper, dates etc., but not for a
>> object with mapped fields. This is what I get for my 'deal' object:
>>
>> Deal={ Name=Big Deal bank=1 Issue Type=Manufacturing Deal Type=MTN
>> Currency=EUR Size/Coupon=1 Term=1 Rating=BBB created=15/02/10 creator=4 
>> }
>>
>> to generate a read-only view I need to do this:
>>
>> deal.formFields.map(f =>
>> <tr><td>{f.displayName}</td><td>{f.asHtml}</td></tr>)
>>
>> It seems unbalanced that you can generate a form for editing purposes but
>> not a view - unless I'm mistaken about that.
>>
> 
> Good feature.  Please open a ticket and mark it as 2.0-M3.
> 
> 
>>
>>
>> Naftoli Gugenheim wrote:
>> >
>> > asHtml?
>> >
>> > 2010/2/14 Channing Walton <channingwal...@mac.com>
>> >
>> >>
>> >> Hi,
>> >> I am using toForm to create forms for crud operations on my mappers,
>> but
>> >> I
>> >> cannot see an equivalent method for presentation purposes. That is, no
>> >> form
>> >> elements, just text presented in the same tabular format as the form.
>> >>
>> >> Is there one ?
>> >>
>> >> Channing
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/presentation-only-equivalent-of-toForm-tp27586473p27586473.html
>> >> Sent from the liftweb mailing list archive at Nabble.com.
>> >>
>> >> --
>> >> 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<liftweb%2bunsubscr...@googlegroups.com>
>> <liftweb%2bunsubscr...@googlegroups.com<liftweb%252bunsubscr...@googlegroups.com>
>> >
>> >> .
>> >> 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 lift...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> >
>> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
>> .
>> > For more options, visit this group at
>> > http://groups.google.com/group/liftweb?hl=en.
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/presentation-only-equivalent-of-toForm-tp27586473p27605101.html
>> Sent from the liftweb mailing list archive at Nabble.com.
>>
>> --
>> 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<liftweb%2bunsubscr...@googlegroups.com>
>> .
>> 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 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.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/presentation-only-equivalent-of-toForm-tp27586473p27614824.html
Sent from the liftweb mailing list archive at Nabble.com.

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