Class SuffixIdFromContainerTask
java.lang.Object
org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase<Component>
org.kuali.rice.krad.uif.lifecycle.model.SuffixIdFromContainerTask
- All Implemented Interfaces:
Runnable,ViewLifecycleTask<Component>
Adjusts the id for elements that are within a component configured with a suffix to apply for
all children (such as components that are within a collection line).
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPulls the container id suffix from the parent component and updates the id on the given element, then sets the container id suffix on the component so the suffixing will apply to all its children.Methods inherited from class org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase
getElementState, getElementType, run, setElementState, toString
-
Constructor Details
-
SuffixIdFromContainerTask
public SuffixIdFromContainerTask()Constructor.- Parameters:
phase- The apply model phase for the component.
-
-
Method Details
-
performLifecycleTask
protected void performLifecycleTask()Pulls the container id suffix from the parent component and updates the id on the given element, then sets the container id suffix on the component so the suffixing will apply to all its children. Performs phase-specific lifecycle processing tasks.- Specified by:
performLifecycleTaskin classViewLifecycleTaskBase<Component>
-