cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Action : onclick tag is ignore

zomurn
Champ in-the-making
Champ in-the-making
Hello,

I code the following custom action in web-client-config-custom.xml

<action id="en_attente_action_id">
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <label-id>en_attente_action_label_id
            </label-id>
            <image>/images/icons/approve.gif
            </image>
            <onclick>javascript:confirm();</onclick>
            <script>/Alfresco/Dictionnaire des
               Données/Scripts/en_attente-action.js</script>
            <params>
               <param name="noderef">#{actionContext.nodeRef}
               </param>
               <param name="target">/alfresco/faces/jsp/browse.jsp
               </param>
            </params>
         </action>

The onclick tag is not outputed in the jsp page where this action appears graphically. From the html generated source code, I can't see the "confirm()" javascript method.
What's wrong ?

Thanks for help
1 REPLY 1

yoann_b
Champ in-the-making
Champ in-the-making
I got the same issue.
Did jout find a solution  :?: