[EMAIL PROTECTED] wrote:
> 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 ?]
>
I could have broken parameter passing into XSLT when modifying
SimpleTransform. (There is something about using XString or not in a
couple of places...). Else, it could be a memory cache issue (the
portlet does not have its content refreshed when the parameter changes).
Or even the hash in the portlet being "sticky"...
Don't trust me too much looking into it in the next days :-)
> --
> Rapha�l Luta - [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]