You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by ICM S Op Guest 5 <IC...@icn.siemens.de> on 2001/12/10 18:01:36 UTC
jetspeed wap1.1 patch + LinkPortlet
Hi David,
could you please check in these files?
I've tested them and they are working fine on my computer.
Modifications:
CustomizerSetAction.java
- It's no longer possible to add sub-panes which are not customizable
- When moving from addpane or properties page to the wml customization, the mode is reset to layout because those modes are not supported in wml
customizer-portletset-add.vm
- Removed 'used' image on the add-portlet page, already used portlets are checked and readonly.
Added:
LinkPortlet.java
- Renders links for HTML (no output for wml because rendering is done in the column.vm file)
How to add the LinkPortlet to the demo-portlets.xreg:
<portlet-entry name="myLinks" hidden="false" type="ref"
parent="LinkPortlet" application="false">
<meta-info>
<title>My Bookmarks</title>
<description>Insert your personal links!</description>
</meta-info>
<parameter name="image" value="contact.gif" hidden="true"/>
<parameter name="link" value="http://www.siemens.de" hidden="true"/>
<parameter name="anchor" value="Siemens germany" hidden="true"/>
<parameter name="description" value="Visit our company home site" hidden="true"/>
<parameter name="image1" value="" hidden="false"/>
<parameter name="link1" value="" hidden="false"/>
<parameter name="anchor1" value="" hidden="false"/>
<parameter name="description1" value="" hidden="true"/>
<parameter name="image2" value="" hidden="false"/>
<parameter name="link2" value="" hidden="false"/>
<parameter name="anchor2" value="" hidden="false"/>
<parameter name="description2" value="" hidden="true"/>
<parameter name="image3" value="" hidden="false"/>
<parameter name="link3" value="" hidden="false"/>
<parameter name="anchor3" value="" hidden="false"/>
<parameter name="description3" value="" hidden="true"/>
<parameter name="image4" value="" hidden="false"/>
<parameter name="link4" value="" hidden="false"/>
<parameter name="anchor4" value="" hidden="false"/>
<parameter name="description4" value="" hidden="true"/>
<media-type ref="html"/>
If you want more entries then you can easily increase the number behind a parametername.
If you want to add a image for wml links you have to add a parameter 'imagewml'.
All hidden parameters are not customizable so you can create static links.
BTW: You can add the 'imagewml' parameter to every wml portlet!
Thanks,
Andreas K.
RE: jetspeed wap1.1 patch + LinkPortlet
Posted by David Sean Taylor <da...@bluesunrise.com>.
Thanks, its checked in and a new release candidate is now at
http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.3a2/
> How to add the LinkPortlet to the demo-portlets.xreg:
I'll have time to test the LinkPortlet this evening, and add it to the xreg
David
> -----Original Message-----
> From: ICM S Op Guest 5 [mailto:ICM-S-OP.guest-5@icn.siemens.de]
> Sent: Monday, December 10, 2001 9:02 AM
> To: Jetspeed Users List
> Cc: A.Kempf@web.de
> Subject: jetspeed wap1.1 patch + LinkPortlet
>
>
> Hi David,
>
> could you please check in these files?
> I've tested them and they are working fine on my computer.
>
>
> Modifications:
>
> CustomizerSetAction.java
> - It's no longer possible to add sub-panes which are not customizable
> - When moving from addpane or properties page to the wml
> customization, the mode is reset to layout because those
> modes are not supported in wml
>
>
> customizer-portletset-add.vm
> - Removed 'used' image on the add-portlet page, already used
> portlets are checked and readonly.
>
>
> Added:
>
> LinkPortlet.java
> - Renders links for HTML (no output for wml because rendering
> is done in the column.vm file)
>
>
> How to add the LinkPortlet to the demo-portlets.xreg:
>
> <portlet-entry name="myLinks" hidden="false" type="ref"
> parent="LinkPortlet" application="false">
> <meta-info>
> <title>My Bookmarks</title>
> <description>Insert your personal links!</description>
> </meta-info>
> <parameter name="image" value="contact.gif" hidden="true"/>
> <parameter name="link" value="http://www.siemens.de"
> hidden="true"/>
> <parameter name="anchor" value="Siemens germany"
> hidden="true"/>
> <parameter name="description" value="Visit our
> company home site" hidden="true"/>
> <parameter name="image1" value="" hidden="false"/>
> <parameter name="link1" value="" hidden="false"/>
> <parameter name="anchor1" value="" hidden="false"/>
> <parameter name="description1" value="" hidden="true"/>
> <parameter name="image2" value="" hidden="false"/>
> <parameter name="link2" value="" hidden="false"/>
> <parameter name="anchor2" value="" hidden="false"/>
> <parameter name="description2" value="" hidden="true"/>
> <parameter name="image3" value="" hidden="false"/>
> <parameter name="link3" value="" hidden="false"/>
> <parameter name="anchor3" value="" hidden="false"/>
> <parameter name="description3" value="" hidden="true"/>
> <parameter name="image4" value="" hidden="false"/>
> <parameter name="link4" value="" hidden="false"/>
> <parameter name="anchor4" value="" hidden="false"/>
> <parameter name="description4" value="" hidden="true"/>
> <media-type ref="html"/>
>
> If you want more entries then you can easily increase the
> number behind a parametername.
> If you want to add a image for wml links you have to add a
> parameter 'imagewml'.
> All hidden parameters are not customizable so you can create
> static links.
>
> BTW: You can add the 'imagewml' parameter to every wml portlet!
>
>
> Thanks,
>
> Andreas K.
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>