<!– Actions for a document in the Browse screen –>
<action-group id="document_browse">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="edit_doc_http" />
<action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" />
<action idref="checkout_doc" />
<action idref="checkin_doc" />
<action idref="details_doc" />
<action idref="delete_doc" hide="true" />
</action-group>
Là ok il n'y a pas de souci, l'action n'apparait plus dans le menu.<!– Actions for a document in the Browse screen –>
<action-group id="document_browse">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="edit_doc_http" hide="true" />
<action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" />
<action idref="checkout_doc" hide="true" />
<action idref="checkin_doc" hide="true" />
<action idref="details_doc" hide="true" />
<action idref="delete_doc" hide="true" />
</action-group>
La j'ai l'erreur suivante qui s'affiche quand j'essaye d'afficher "Mon accueil".javax.faces.FacesException: Illegal Capacity: -2
caused by:
org.apache.jasper.JasperException: Illegal Capacity: -2
caused by:
java.lang.IllegalArgumentException: Illegal Capacity: -2
J'ai des variantes de l'erreur selon les actions que je supprime ( Illegal Capacity: -3, Illegal Capacity: -7, etc.). <config replace="true">
<actions>
<action-group id="document_browse">
<!– ici uniquement les actions à mettre –>
</action-group>
</action>
</config>
Ceci dit ça devrait marcher aussi avec les "hide", je vais aller voir du côté de la base de bugs…
<action-group id="document_browse">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="edit_doc_http" hide="true" />
<action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" />
<action idref="checkout_doc" hide="true" />
<action idref="checkin_doc" hide="true" />
<action idref="details_doc" hide="true" />
<action idref="delete_doc" hide="true" />
</action-group>
Et ça marche très bien (je suis en version 2.2 dev cependant).<action-group id="document_browse">
<action idref="edit_doc_http" hide="true" />
<action idref="checkout_doc" hide="true" />
<action idref="checkin_doc" hide="true" />
<action idref="details_doc" hide="true" />
<action idref="delete_doc" hide="true" />
</action-group>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.