AnsweredAssumed Answered

Add action link to navigator

Question asked by ribz33 on Dec 7, 2007
Latest reply on Jan 3, 2008 by kevinr

i want to add a link in navigator.

I did this code :

<%@ taglib uri="" prefix="h" %>
<%@ taglib uri="" prefix="f" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>

<%– load a bundle of properties with I18N strings –%>
<f:loadBundle basename="alfresco.messages.webclient" var="msg"/>

<r:navigator id="custom-navigator" activeArea="#{NavigationBean.toolbarLocation}">
<div id="browse-cat-div" class="sidebarButton" style="background-image: url(<%=request.getContextPath()%>/images/parts/navigator_grey_gradient_bg.gif)">
<f:view >
<a:actionLink value="#{msg.my_action}" action="dialog:mydialog" style="font-size: 12px;" id="custom-mydialog" />

All works well except when i switch to shelf and come back to navigator this make an error : Duplicate id in faces tree

Problem come from <f:verbatim> tag.
Only actionLink tag works well except that i have no style on my link :(

Have you an idea to display style on my tag without verbatim ?

Thx in advance.