tjweir/liftbook

Incorrect Description of MetaMapper.fieldOrder

dph01 opened this issue · 0 comments

Hi,
Not sure if you saw this thread in the Lift group recently, but I made the point that I noticed behaviour that contradicted what was described in Exploring Lift:

"If you don’t want a particular field to show up in forms or XHTML output, simply omit it from the fieldOrder↓ list." (http://exploring.liftweb.net/master/index-8.html#toc-Section-8.1)

DPP replied with:

"Actually, Exploring is wrong about this. The field order defines the order the fields will be displayed, but if a field is not listed in field order, it will be displayed in an undetermined order after the ordered fields have been displayed. This particular feature goes back to pre-Lift Mapper."

https://groups.google.com/d/msg/liftweb/i9KPOesBmpQ/nuWPMXA-nuMJ

Thanks

Damian.