Module org.omnifaces
Class ConditionalWriterListener
- java.lang.Object
-
- org.omnifaces.component.input.componentidparam.ConditionalWriterListener
-
- All Implemented Interfaces:
PhaseListener,Serializable,EventListener
public class ConditionalWriterListener extends Object implements PhaseListener
PhaseListener intended to work in conjunction with theComponentIdParamcomponent.This installs a
ResponseWriterthat only renders specific components.- Since:
- 1.1
- Author:
- Arjan Tijms
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConditionalWriterListener(List<String> componentIds, List<String> clientIds, boolean renderChildren)Construct conditional writer listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPhase(PhaseEvent event)voidbeforePhase(PhaseEvent event)PhaseIdgetPhaseId()
-
-
-
Method Detail
-
getPhaseId
public PhaseId getPhaseId()
- Specified by:
getPhaseIdin interfacePhaseListener
-
beforePhase
public void beforePhase(PhaseEvent event)
- Specified by:
beforePhasein interfacePhaseListener
-
afterPhase
public void afterPhase(PhaseEvent event)
- Specified by:
afterPhasein interfacePhaseListener
-
-