remove undesired display logic from record Fields
Based on discussion in this thread:
http://groups.google.com/group/liftweb/browse_thread/thread/eb8cb01dcb828b9e
1) Remove all HTML generation other than the core <input/> element from Field toForm methods
2) Move this logic to a trait that can be mixed in to fields for users that want to maintain current HTML generation
There are some additional methods on Field that I think are only used for this display stuff that can probably be removed from Field and put in the newly created trait as well: displayName and label.
See also this related ticket:
https://www.assembla.com/spaces/liftweb/tickets/594-overriding-field-label-not-affecting-textareafield-tofrom
http://groups.google.com/group/liftweb/browse_thread/thread/eb8cb01dcb828b9e
1) Remove all HTML generation other than the core <input/> element from Field toForm methods
2) Move this logic to a trait that can be mixed in to fields for users that want to maintain current HTML generation
There are some additional methods on Field that I think are only used for this display stuff that can probably be removed from Field and put in the newly created trait as well: displayName and label.
See also this related ticket:
https://www.assembla.com/spaces/liftweb/tickets/594-overriding-field-label-not-affecting-textareafield-tofrom
Leave a comment
http://reviewboard.liftweb.net/r/426/
needs test by someone with more record experience
code is up on rmm_wip_479_2.7 and rmm_wip_479_2.8
needs test by someone with more record experience
code is up on rmm_wip_479_2.7 and rmm_wip_479_2.8