AnsweredAssumed Answered

Action with Custom Attributes

Question asked by lmoulin on Jan 26, 2007
Latest reply on Feb 2, 2007 by lmoulin
Hello,
I want to launch a servlet when the user clicks on a specific menu.
I decided to create a new action.
This action is applied on a document.
I define the following action in the file 'web-client-config-custom.xml':

<action id="view_coffre_fort_watermark">
<label-id>view_coffre_fort_watermark</label-id>
<image>/images/icons/view_coffre_fort_watermark.gif</image>
<href>http://localhost:8080/AlfrescoViewer/ViewerServlet</href>
<target>new</target>
<params>
<param name="isWithWaterMark">true</param>
<param name="id">#{actionContext.id}</param>
</params>
</action>

But I want to add some parameters like document custom properties values to my servlet.
What is the correct syntax of the tag <param>?

Thanks a lot for your help,
Luc

Outcomes