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 theComponentIdParam
component.This installs a
ResponseWriter
that 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 void
afterPhase(PhaseEvent event)
void
beforePhase(PhaseEvent event)
PhaseId
getPhaseId()
-
-
-
Method Detail
-
getPhaseId
public PhaseId getPhaseId()
- Specified by:
getPhaseId
in interfacePhaseListener
-
beforePhase
public void beforePhase(PhaseEvent event)
- Specified by:
beforePhase
in interfacePhaseListener
-
afterPhase
public void afterPhase(PhaseEvent event)
- Specified by:
afterPhase
in interfacePhaseListener
-
-