Hi

I'm a little confused about the meanings of dbDisplay_? and
dbIncludeInForm_? when using Mapper & CRUDify

How can I have a field that is

1) Not shown in the list view
2) Shown in the edit form

It seems that:

1) Setting dbDisplay_? = false hides the field from both list and
form. This works 
2) Setting dbDisplay_?=true, dbIncludeInForm_?=false. Hides the field
from the form and removes the contents from the list, but still shows
the header in the list. Doesn't seem to work

Looking at MetaMapper.formFields, it seems as if both display &
IncludeInForm needs to be true in order to show in the form. It would
seem the two settings are orthogonal so that 

dbDisplay could control inclusion in list views
dbIncludeInForm could control inclusion in forms
and by default dbIncludeInForm = dbDisplay

What did I miss?

/Jeppe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@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