Neeme Praks wrote:
>
> I would like to add one more point: the current markup of user PSML
> files is really confusing: we have three different ways of passing
> information to the portlet:
>
> skins:
> <skin>
> <property name="selected-color" value="#BEBEFF"/>
> <property name="background-color" value="FFFFFF"/>
> </skin>
>
> parameters:
> <parameter name="name" value="mmail"/>
>
> and metadata/metainfo:
> <metainfo>
> <title>M.Mail</title>
> </metainfo>
>
> Could someone more knowledgeable explain the main differences between
> these? And how are they used by portlets, controls anbd controllers?
>
> Kevin, Rapha�l, Jeff?
>
> Neeme
>
It's actually quite simple, each information is used by a different
component :
skin: used by PortletControl and Controllers to customize superficial
appearance. May be ignored a given implmentation without
altering the information displayed, just its appearance
metainfo: provides meta-data on a given portlet, useful for portletControls
and portlet browsers/search engine. Is usually not used at all by a portlet.
parameters: operational parameters required for proper portlet operation,
A portlet should never ignore a parameter value as it may alter
the information presented.
I'm currently not very pleased with the layout and skin property system, but I'm
waiting on Kevin improved PSML proposal before digging more on the subject.
--
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]