burtonator wrote:
> 
> Neeme Praks wrote:
> >
> > This is a little bit related to the WAP issue brought up and it is also
> > related to my real-life needs.
> >
> > IMO, all portals essentially consist of "services": news, email,
> > calendar, contacts, etc. So, I propose to include the notion of services
> <snip>
> 
> OK.  I am not sure how this is a proposal.. but anyway.
> 
> You already get this with Jetspeed.  Instead of "services" they are
> called "Applications".  If you see the Applications portlet you can use
> this to navigate all your applications (news, email, calendar, contacts,
> etc).
> 
> That should work for you.
> 
> There isn't the concept of a configuration panel for these applications
> but maybe there should be.
> 

I think there should be a config panel hook for all portlets, there probably must
be one for all daemons. I think portlet customizatio should behave a bit like
JavaBeans instanciation :
- a generic smart implementation using reflection or some simple descriptive
  methods
- a full cutomization hook where the portlet takes charge of its complete 
  administration.

Code example:

In the Portlet Interface :
getParameterInfo() : returns a class (or struct) describing the parameters allowed 
for customization
setParameters( Dictionary ) : allows the portlet to store in its config object the 
parameter values gathered by the standard GUI.

We could also define a Customizable interface with a getCustomizer() method.
If the Portlet implements this method, then the customizer takes charge of
gathering the parameter info needed for the portlet.
 
If these functions are called in user context (currently Home screen), the changes
are
stored in the user PSML file ; if it's in Administration context (Admin screen), the
modification are stored in the registry...

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
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