| |
|
| org.contineo.web.navigation.PageContentBean
All known Subclasses: org.contineo.web.document.Directory,
PageContentBean | public class PageContentBean extends IceUserObject (Code) | |
The PageContentBean class is responsible for holding state information which
will allow a TreeNavigation and NavigationBean display dynamic content.
author: Marco Meschieri version: $Id: PageContentBean.java,v 1.10 2006/09/03 11:40:19 marco Exp $ since: 3.0 |
PageContentBean | public PageContentBean(String contentName)(Code) | | |
PageContentBean | public PageContentBean()(Code) | | |
PageContentBean | public PageContentBean(Menu menu)(Code) | | |
getContentName | public String getContentName()(Code) | | Gets the template name to display in the showcase.jspx. The template is a
panel in a panel stack which will be made visible.
panel stack template name. |
getContentTitle | public String getContentTitle()(Code) | | Get the text to be displayed as the content title. This text string must
match resource property in
com.icesoft.icefaces.samples.showcase.resources.messages
menu content title |
getDisplayText | public String getDisplayText()(Code) | | Gets the menu display text. This text will be shown in the navigation
control.
menu display text. |
getMenuId | public int getMenuId()(Code) | | |
getNavigationSelection | public NavigationBean getNavigationSelection()(Code) | | Gets the navigation callback.
NavigationBean. |
isPageContent | public boolean isPageContent()(Code) | | Does the node contain content.
true if the page contains content; otherwise, false. |
onSelect | public void onSelect(ActionEvent event)(Code) | | Item selection handler
|
setContentName | public void setContentName(String templateName)(Code) | | Sets the template name to be displayed when selected in tree. Selection
will only occur if pageContent is true.
Parameters: contentName - valid panel name in showcase.jspx |
setContentTitle | public void setContentTitle(String menuContentTitle)(Code) | | Sets the menu content title.
Parameters: contentTitle - menu content title name. |
setDisplayText | public void setDisplayText(String menuDisplayText)(Code) | | Sets the text to be displayed in the menu. This text string must match a
resource property in
com.icesoft.icefaces.samples.showcase.resources.messages
Parameters: displayText - menu text to display |
setNavigationSelection | public void setNavigationSelection(NavigationBean navigationBean)(Code) | | Sets the navigation callback.
Parameters: navigationBean - controls selected panel state. |
setPageContent | public void setPageContent(boolean pageContent)(Code) | | Sets the page content.
Parameters: pageContent - True if the page contains content; otherwise, false. |
setTemplate | public void setTemplate(String menuContentInclusionFile)(Code) | | This is necessary for the Facelets version of component-showcase. Unlike
the JSP version of component-showcase, which uses static includes, the
Facelets version uses dynamic inclusion tied to an EL expression, which
will call getMenuContentInclusionFile().
Parameters: template - The server-side path to the file to be included |
|
|
|