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.
NavigationBean.workAreaWidth
public String getWorkAreaWidth() { return this.shelfExpanded ? "80%" : "100%"; }
this.isShelfExpanded()
The field NavigationBean.shelfExpanded is not visible
<shelf-visible>false</shelf-visible>
public class NavigationBeanFullWidth extends NavigationBean{ public String getWorkAreaWidth() { return this.isShelfExpanded() ? "100%" : "100%"; } }
<managed-bean> <description> The bean that holds navigation state. </description> <managed-bean-name>NavigationBean</managed-bean-name> <managed-bean-class>org.alfresco.web.bean.NavigationBeanFullWidth</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> <managed-property> <property-name>nodeService</property-name> <value>#{NodeService}</value> </managed-property> <managed-property> <property-name>searchService</property-name> <value>#{SearchService}</value> </managed-property> <managed-property> <property-name>namespaceService</property-name> <value>#{NamespaceService}</value> </managed-property> <managed-property> <property-name>serverConfiguration</property-name> <value>#{fileServerConfiguration}</value> </managed-property> <managed-property> <property-name>ruleService</property-name> <value>#{RuleService}</value> </managed-property> <managed-property> <property-name>userPreferencesBean</property-name> <value>#{UserPreferencesBean}</value> </managed-property> <managed-property> <property-name>authenticationService</property-name> <value>#{AuthenticationService}</value> </managed-property> <managed-property> <property-name>permissionService</property-name> <value>#{PermissionService}</value> </managed-property> </managed-bean>
Tout d'abord, merci de répondre aussi rapidement et clairement !
public class NavigationBeanFullWidth extends NavigationBean{ public String getWorkAreaWidth() { return "100%"; } }