Package de.xima.fc.form.common.models
Interface IXFormRenderCallback
-
- All Known Implementing Classes:
XFormRenderCallback
public interface IXFormRenderCallback
Handler for form render callbacks. Invokes all applicable callbacks, such as plugin callbacks.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAfterRenderForm(com.hp.gagawa.java.elements.Html html, com.hp.gagawa.java.elements.Form form, IXForm xForm)
Callback invoked after the form was rendered.void
onAfterRenderItem(com.hp.gagawa.java.FertileNode container, IXItemBasic itemHandler, XItemRenderCtx renderCtx, XItemRenderData renderData)
Callback invoked just after an item was rendered.void
onBeforeRenderForm(IXForm xForm)
Callback invoked before the form is about to be rendered.void
onBeforeRenderItem(com.hp.gagawa.java.FertileNode container, IXItemBasic itemHandler, XItemRenderCtx renderCtx, XItemRenderData renderData)
Callback invoked just before an item is rendered.
-
-
-
Method Detail
-
onAfterRenderForm
void onAfterRenderForm(com.hp.gagawa.java.elements.Html html, com.hp.gagawa.java.elements.Form form, IXForm xForm)
Callback invoked after the form was rendered. Never throws.- Parameters:
html
- The root HTML element of the form.form
- The form element with the form contents.xForm
- The descriptor of the form being rendered.
-
onAfterRenderItem
void onAfterRenderItem(com.hp.gagawa.java.FertileNode container, IXItemBasic itemHandler, XItemRenderCtx renderCtx, XItemRenderData renderData)
Callback invoked just after an item was rendered. Never throws.- Parameters:
container
- Container that will contain the item (with the classxm-item-div
).itemHandler
- The item handler of the item to render.renderCtx
- Current item render context.renderData
- Properties of the item to render.
-
onBeforeRenderForm
void onBeforeRenderForm(IXForm xForm)
Callback invoked before the form is about to be rendered. Never throws.- Parameters:
xForm
- The descriptor of the form being rendered.
-
onBeforeRenderItem
void onBeforeRenderItem(com.hp.gagawa.java.FertileNode container, IXItemBasic itemHandler, XItemRenderCtx renderCtx, XItemRenderData renderData)
Callback invoked just before an item is rendered. Never throws.- Parameters:
container
- Container that will contain the item (with the classxm-item-div
).itemHandler
- The item handler of the item to render.renderCtx
- Current item render context.renderData
- Properties of the item to render.
-
-