As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
je n'arrive pas a trouver ou je modifie.personne n'a une idée ?
if (NavigationBean.LOCATION_GUEST.equals(area) == false && navBean.getIsGuest() == false && navBean.getGuestHomeVisible()) { encodeSidebarButton(context, out, sideBarStyle,NavigationBean.LOCATION_GUEST, NavigationBean.MSG_GUESTHOME); }
else if (LOCATION_GUEST.equals(location)) { List<IBreadcrumbHandler> elements = new ArrayList<IBreadcrumbHandler>(1); Node guestHome = getGuestHomeNode(); if (this.clientConfig.getBreadcrumbMode().equals(ClientConfigElement.BREADCRUMB_LOCATION)) { Repository.setupBreadcrumbLocation(context, this, elements, guestHome.getNodeRef()); if (s_logger.isDebugEnabled()) s_logger.debug("Created breadcrumb location for guesthome: " + elements); }
else if (LOCATION_GUEST.equals(location)) { List<IBreadcrumbHandler> elements = new ArrayList<IBreadcrumbHandler>( 1); Node guestHome = getGuestHomeNode(); if (this.clientConfig.getBreadcrumbMode().equals( ClientConfigElement.BREADCRUMB_LOCATION)) { Repository.setupBreadcrumbLocation(context, this, elements, guestHome.getNodeRef()); if (logger.isDebugEnabled()) logger.debug("Created breadcrumb location for guesthome: " + elements); } else { elements.add(new NavigationBreadcrumbHandler(guestHome .getNodeRef(), guestHome.getName())); if (logger.isDebugEnabled()) logger.debug("Created breadcrumb path for guesthome: " + elements); } setLocation(elements); setCurrentNodeId(guestHome.getId()); // inform registered beans that the current area has changed UIContextService.getInstance(FacesContext.getCurrentInstance()) .areaChanged(); // we need to force a navigation to refresh the browse screen // breadcrumb if (navigate) { context.getApplication().getNavigationHandler() .handleNavigation(context, null, OUTCOME_BROWSE); } }
else if (LOCATION_GUEST.equals(location)) { List<IBreadcrumbHandler> elements = new ArrayList<IBreadcrumbHandler>( 1); Node guestHome = getGuestHomeNode(); if (this.clientConfig.getBreadcrumbMode().equals( ClientConfigElement.BREADCRUMB_LOCATION)) { Repository.setupBreadcrumbLocation(context, this, elements, guestHome.getNodeRef()); if (logger.isDebugEnabled()) logger.debug("Created breadcrumb location for guesthome: " + elements); } else { elements.add(new NavigationBreadcrumbHandler(guestHome .getNodeRef(), guestHome.getName())); if (logger.isDebugEnabled()) logger.debug("Created breadcrumb path for guesthome: " + elements); } setLocation(elements); setCurrentNodeId(guestHome.getId()); // inform registered beans that the current area has changed UIContextService.getInstance(FacesContext.getCurrentInstance()) .areaChanged(); // we need to force a navigation to refresh the browse screen // breadcrumb if (navigate) { context.getApplication().getNavigationHandler() .handleNavigation(context, null, OUTCOME_BROWSE); } }
if (navigate) { context.getApplication().getNavigationHandler() .handleNavigation(context, null, OUTCOME_BROWSE); }
est ce que je crée un nouveau projet avec un nouveau package (c'est à dire pas org.alfresco.web.bean) ou je vais mettre la classe NavigationBean.java modifiée et je rattache les projets d'alfreco aprés j'export le nouveau package en jar file et mettre le resultat ce fichier dans WEB-INF/lib.
<managed-bean-name>NavigationBean</managed-bean-name> <managed-bean-class>org.alfresco.lien.bean.NavigationBean</managed-bean-class>
javax.faces.FacesException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/alfresco/jlan/server/config/ServerConfigurationAccessor caused by: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/alfresco/jlan/server/config/ServerConfigurationAccessor caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/alfresco/jlan/server/config/ServerConfigurationAccessor caused by: java.lang.NoClassDefFoundError: org/alfresco/jlan/server/config/ServerConfigurationAccessor caused by: java.lang.ClassNotFoundException: org.alfresco.jlan.server.config.ServerConfigurationAccessor