I've just landed a new Portlet Customizer (based on the VelocityPortlet of course...)
that can customize parameters for any existing portlet :
In order to take advantage of this, I've extended the registry format for parameters
to allow a more complex syntax, for example :
<parameter name="stylesheet" value="/WEB-INF/xsl/rss.xsl">
<security role="admin" />
</parameter>
You can define a role that a user should possess to edit the parameter.
<parameter name="showdescription" value="true" type="boolean">
<meta-info>
<title>Show description ?</title>
<description>
This parameters specify whether the item descriptions should be
displayed in this portlet, or only the headlines
</description>
</meta-info>
</parameter>
You can add a standard <meta-info> block that is used by the customizer to display
meaningful information to the user rather than straight parameter names...
Also, type="boolean" is recognized by the customizer and creates a true/false select
list
instead of a simple text input.
Other types are not yet supported.
[BTW, the parameter "itemdisplayed" does not seem to work for the RSS portlet, does
anybody
know why ?]
--
Rapha�l Luta - [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]