burtonator wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > - a full cutomization hook where the portlet takes charge of its complete
> > administration.
>
> -1. I am not sure I like this right now. I thought about this but is
> seems bad. I mean a Portlet with its own configuration is troublesome.
> I would rather do property based configuration.
>
I talk about GUI, not the storage issue.
> > 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.
>
> I know it was psuedo code but it would probably just use
> portlet.getPortletConfig().getInitParameterNames()
>
No, getInitParameterNames() only returns the currently defined parameters, not all
the *allowed* parameters.
--
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]