03-09-2006 09:33 AM
03-09-2006 09:54 AM
03-09-2006 10:10 AM
03-13-2006 04:05 PM
03-14-2006 02:21 AM
<input type="text" size="10"/><input type="submit" value="Submit"/>
But how could i get the value of the inputbox in de BrowseBean.setBrowsePageSize()?03-14-2006 03:01 AM
<h:inputText value="#{BrowseBean.browsePageSize}" size="10" />
<h:commandButton value="Submit" />
03-14-2006 03:12 AM
03-14-2006 04:47 AM
03-14-2006 08:43 AM
03-14-2006 10:28 AM
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);
}
}
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.