This is pretty critical to how customized settings will be stored in the
database.

If all the parameters necessary to render any given portlet according to a
certain user's tastes can be stored as portlet markup, then for each user, a
fully customized version of defaultPortlets.xml can be stored.  When the user
logs in or reloads after log in:
-the existence of an unexpired entry in the cache is checked for
-if not, the existence of a row in the db for this user is checked for
-if either exists, the PortletController uses it to generate the custom screen
(otherwise, defaultPortlets.xml)
-if a row was read from the db, it should be cached
-any action which updates the row in the db also expires the cache entry

Being able to store custom settings as portlet markup would also give site
administrators greater control over the presentation of the defaultPortlets; it
would be more like a home page.

I'm all +1.

-ed


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to