Hello,
I continue my lonely discussion.... maybe this discussion should continue
in the jetspeed user forum ???
I added a m�thode get(String param) in the BasePortletSkin object -> it
works, I can now access to the parameters defined in a skin-entry (xreg) by
$skin.get("param_name") in a velocity template !
I can now use params like customize_icon or round_image...
It appears to me that PortletSkin is much a PortalSkin because the skin is
apply to all portlets if we use jetspeed customizer (I didn't try to modify
psml files manually to add an element skin in an element entry).
About the stylesheet (I want to specify the stylesheet in the skin), I need
to access skin object in the layout (default.vm). I saw
JetspeedVelocityPage which put jnavigation in Velocity context, should I
use it to put skin in Velocity context.
About the layout (I want it in the skin too), maybe someone can say me
which class I must modify to use Skin parameters to specify the layout.
Best regards,
Pierre BD
------------------------------------------------
I have to work on the jetspeed interface for my project, maybe can my work
be included in the jetspeed project.
Did someone plan to extend Skin in Jetspeed,
I think skins (which can be chosen by user) could be able to manage some
other part of user interface.
- stylesheet : I saw a stylesheet parameter for skin, but I didn't see
where it is used. I think it should be used in default.vm, but there is
just a static call to default.css
- action icons : it would be very nice to be able to change this just by
changing the skin. The only way I found to do that is changing the files
named "customize.gif" etc...
- the layout : by default jetspeed use default.vm template to render the
portal. Skin could have its own top-level template
- other images who could be used to render portlets (like round-corner)
Maybe this features could be added by a HashMap in the Skin object.
With this way the skin-entry in the registry can include whatever parameter
we imagine. In the template, we could use ${Skin.get("parameter_name ")}.
Best regards,
Pierre Besson-Deblon
PS : if something doesn't seem clear, it may due to my bad english, sorry
I'm french :-)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>