05-18-2010 12:50 PM
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>
05-19-2010 08:45 AM
<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>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.