public class UINavigatorCustom extends
org.alfresco.web.ui.repo.component.UINavigator {
@Override
public void encodeBegin(FacesContext context) throws IOException {
(…)
if (NavigationBean.LOCATION_MYALFRESCO.equals(area) == false) {
encodeSidebarButton(context, out, sideBarStyle,
NavigationBean.LOCATION_MYALFRESCO,
NavigationBean.MSG_MYALFRESCO);
}
/* MI NUEVO CODIGO*/
out.write("<div class=\"sidebarButton\" ");
out.write(sideBarStyle);
out.write("><a:actionLink value=\"Creacion formulario\" showLink=\"false\" styleClass=\"containerButtonLegend\" action=\"wizard:formCreateContent\" id=\"a1_2\" />");
out.write("</div>");
/* FIN */
out.write("</div>");
}
<a href="#" onclick="document.forms['wizard']['wizard:sidebar-body:navigator'].value='panel:userhome';document.forms['wizard'].submit();return false;" class="sidebarButtonLink">Gestor documental
</a>
<div id="outsideNavy" styleClass="navigator_outside">
<f:subview id="sidebar-body">
<jsp:include page="<%=Application.getSidebarBean().getActivePluginPage()%>" />
</f:subview>
<div id="externalcontainer">
<div id="internalcontainer1">
<a:actionLink showLink="false" value="Crear formulario"
action="wizard:formCreateContent" id="identifier_wizard"
styleClass="sidebarButtonForm">
</a:actionLink>
</div>
<div id="internalcontainer2">
<a:actionLink value="Panel de control" showLink="false"
styleClass="sidebarButtonForm" action="dialog:adminConsole"
id="identifier_panel">
</a:actionLink>
</div>
</div>
</div>
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.