Class FlowchartRenderer.FlowchartPartialRenderListener
- java.lang.Object
-
- de.xima.fc.gui.listener.PartialRenderListener<Flowchart>
-
- de.xima.fc.workflow.taglib.component.flowchart.FlowchartRenderer.FlowchartPartialRenderListener
-
- All Implemented Interfaces:
IClientIdProviding
,IIdChainProviding
,EventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListener
- Enclosing class:
- FlowchartRenderer
public static final class FlowchartRenderer.FlowchartPartialRenderListener extends PartialRenderListener<Flowchart>
Partial renderer listener for updating the flowchart via a script instead of replacing the entire DOM element.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodePartial(javax.faces.context.FacesContext context, Flowchart flowchart)
Performs the actions are necessary for the partial render of the component.-
Methods inherited from class de.xima.fc.gui.listener.PartialRenderListener
getClientId, getIdChain, getIdChainString, isListenerForSource, processEvent, shouldRenderPartially
-
-
-
-
Method Detail
-
encodePartial
protected void encodePartial(javax.faces.context.FacesContext context, Flowchart flowchart) throws FastJsonException
Description copied from class:PartialRenderListener
Performs the actions are necessary for the partial render of the component. Usually this consists of scheduling JavaScript code to be executed on the client (viaPrimeFaces.executeInitScript(String)
.- Specified by:
encodePartial
in classPartialRenderListener<Flowchart>
- Parameters:
context
- The current faces context to use.- Throws:
FastJsonException
-
-