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.
<input type="text" size="10"/><input type="submit" value="Submit"/>
<h:inputText value="#{BrowseBean.browsePageSize}" size="10" /> <h:commandButton value="Submit" />
public void viewModeChanged(ActionEvent event) { UIModeList viewList = (UIModeList)event.getComponent(); // get the view mode ID String viewMode = viewList.getValue().toString(); if (VIEWMODE_DASHBOARD.equals(viewMode) == false) { // set the page size based on the style of display setBrowsePageSize(this.viewsConfig.getDefaultPageSize(PAGE_NAME_BROWSE, viewMode)); if (logger.isDebugEnabled()) logger.debug("Browse view page size set to: " + getBrowsePageSize()); // in case we left for dashboard if (isDashboardView() == true) { setDashboardView(false); } // push the view mode into the lists setBrowseViewMode(viewMode); } else { // special case for Dashboard view setDashboardView(true); } }
if (VIEWMODE_DASHBOARD.equals(viewMode) == false) { // set the page size based on the style of display setBrowsePageSize(5);
I can't see why that approach wouldn't work. I presume you have rebuilt the WAR file and re-deployed it?