public class ConditionalWriterListener extends Object implements PhaseListener
ComponentIdParam
component.
This installs a ResponseWriter
that only renders specific components.
Constructor and Description |
---|
ConditionalWriterListener(FacesContext facesContext,
List<String> componentIds,
List<String> clientIds,
boolean renderChildren) |
Modifier and Type | Method and Description |
---|---|
void |
afterPhase(PhaseEvent event) |
void |
beforePhase(PhaseEvent event) |
PhaseId |
getPhaseId() |
public ConditionalWriterListener(FacesContext facesContext, List<String> componentIds, List<String> clientIds, boolean renderChildren)
public PhaseId getPhaseId()
getPhaseId
in interface PhaseListener
public void beforePhase(PhaseEvent event)
beforePhase
in interface PhaseListener
public void afterPhase(PhaseEvent event)
afterPhase
in interface PhaseListener
Copyright © 2012–2016 OmniFaces. All rights reserved.