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
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.