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.
ak_wap11lp.ZIP
Description: Zip archive
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
