|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.container.ContainerBase org.kuali.rice.krad.uif.container.Group org.kuali.rice.krad.uif.container.PageGroup
public class PageGroup
A PageGroup represents a page of a View.
PageGroups should only be used with a View component. The contain the main content that will be seen by the user using the View. Like all other groups, PageGroup can contain items, headers and footers. Pages also have their own BreadcrumbItem.
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
PageGroup()
|
Method Summary | ||
---|---|---|
void |
completeValidation(ValidationTrace tracer)
Validates different requirements of component compiling a series of reports detailing information on errors found in the component. |
|
protected
|
copyProperties(T component)
Copies the properties over for the copy method |
|
BreadcrumbItem |
getBreadcrumbItem()
The breadcrumbItem for this page. |
|
PageBreadcrumbOptions |
getBreadcrumbOptions()
The breadcrumbOptions specific to this page. |
|
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
|
boolean |
isAutoFocus()
When this is true, the first field of the kualiForm will be focused by default, unless the parameter focusId is set on the form (by an actionField), then that field will be focused instead. |
|
boolean |
isStickyFooter()
When true, this page's footer will become sticky (fixed) at the bottom of the window |
|
void |
performFinalize(View view,
Object model,
Component parent)
Perform finalize here adds to its document ready script the setupValidator js function for setting up the validator for this view. |
|
void |
performInitialization(View view,
Object model)
Setup various breadcrumbOptions inherited from view if not explicitly set. |
|
void |
setAutoFocus(boolean autoFocus)
|
|
void |
setBreadcrumbItem(BreadcrumbItem breadcrumbItem)
Set the breadcrumbItem for this PageGroup |
|
void |
setBreadcrumbOptions(PageBreadcrumbOptions breadcrumbOptions)
Set the breadcrumbOptions |
|
void |
setStickyFooter(boolean stickyFooter)
Set to true to make this page's footer sticky |
Methods inherited from class org.kuali.rice.krad.uif.container.Group |
---|
getComponentTypeName, getDisclosure, getFieldBindByNamePrefix, getFieldBindingObjectPath, getItems, getScrollpane, getSupportedComponents, setDisclosure, setFieldBindByNamePrefix, setFieldBindingObjectPath, setItems, setScrollpane |
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase |
---|
getComponentPrototypes, getDefaultItemPosition, getFooter, getHeader, getHeaderText, getHelp, getHelpTitle, getInstructionalMessage, getInstructionalText, getLayoutManager, getValidationMessages, performApplyModel, setDefaultItemPosition, setFooter, setHeader, setHeaderText, setHelp, setInstructionalMessage, setInstructionalText, setLayoutManager, setRenderFooter, setRenderHeader, setTooltipOfComponent, setValidationMessages, sortItems |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Constructor Detail |
---|
public PageGroup()
Method Detail |
---|
public void performInitialization(View view, Object model)
performInitialization
in interface Component
performInitialization
in class Group
view
- - view instance in which the component belongsmodel
- - object instance containing the view dataComponentBase.performInitialization(org.kuali.rice.krad.uif.view.View,
Object)
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class ContainerBase
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent componentContainerBase.performFinalize(org.kuali.rice.krad.uif.view.View,
Object, org.kuali.rice.krad.uif.component.Component)
public List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService
for the various lifecycle callbacks
getComponentsForLifecycle
in interface Component
getComponentsForLifecycle
in class Group
ComponentBase.getComponentsForLifecycle()
public boolean isAutoFocus()
public void setAutoFocus(boolean autoFocus)
autoFocus
- the autoFocus to setpublic PageBreadcrumbOptions getBreadcrumbOptions()
Important note: breadcrumbOptions for preViewBreadcrumbs, prePageBreadcrumbs, and breadcrumbOverrides are inherited from the View if not explicitly set from the PageGroup level's breadcrumbOptions (if they contain a value at the view level and the property is null at the page level - default behavior). Explicitly providing an empty list or setting these properties at the PageGroup level will override this inheritance.
BreadcrumbOptions
public void setBreadcrumbOptions(PageBreadcrumbOptions breadcrumbOptions)
breadcrumbOptions
- public BreadcrumbItem getBreadcrumbItem()
If a label is not explicitly defined, the label is retrieved from the headerText of the PageGroup's header. If this is also not defined, the breadcrumbItem is NOT rendered. The url properties do not need to be provided for this breadcrumbItem because it is automatically determined based on the this PageGroup's pageId, viewId, and controllerMapping retrieved from the initial controller request.
public void setBreadcrumbItem(BreadcrumbItem breadcrumbItem)
breadcrumbItem
- public boolean isStickyFooter()
public void setStickyFooter(boolean stickyFooter)
stickyFooter
- protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class Group
component
- base beanComponentBase.copy()
public void completeValidation(ValidationTrace tracer)
Component
completeValidation
in interface Component
completeValidation
in class Group
tracer
- Record of component's locationComponent.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |