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>

public class SuffixIdFromContainerTask extends ViewLifecycleTaskBase<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 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:
      performLifecycleTask in class ViewLifecycleTaskBase<Component>