Dev - configurable custom views

Posted by Si Chen-2 on
URL: http://ofbiz.116.s1.nabble.com/Dev-configurable-custom-views-tp167905.html

Hi everybody -

We want to implement a feature where users can configure their view
choices in the applications.  For example, the same page can serve up
different content, etc.  I think this would have to be implemented
specifically in each application, but nevertheless a common data model
for all of them might be nice.

My questions:

1.  Is this something we want in OFBIZ?

2.  If so, here's what I have so far
ViewPreference: header entity with an ID, description, etc.
ViewPreferenceItem consisting of viewPrefId, component, view, item (FK
on enum)
ViewPreferenceEnums is a list of allowable choices for all the view
preferences
UserLoginViewPreference - allows userLogin to be associated with a view
preference

Does this sound reasonable?

Where I'm a little hazy is how ViewPreferenceItem should be.  Should be
structured around application compnent and view-request, or around
screens and sub-screens, or form/fields?  Or should we have something
that would allow all of the above, so users can configure any of those?

Thanks,

Si

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev