Class XFormRenderCallback

    • Method Detail

      • onAfterRenderForm

        public void onAfterRenderForm​(com.hp.gagawa.java.elements.Html html,
                                      com.hp.gagawa.java.elements.Form form,
                                      IXForm xForm)
        Description copied from interface: IXFormRenderCallback
        Callback invoked after the form was rendered. Never throws.
        Specified by:
        onAfterRenderForm in interface IXFormRenderCallback
        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

        public void onAfterRenderItem​(com.hp.gagawa.java.FertileNode container,
                                      IXItemBasic item,
                                      XItemRenderCtx renderCtx,
                                      XItemRenderData renderData)
        Description copied from interface: IXFormRenderCallback
        Callback invoked just after an item was rendered. Never throws.
        Specified by:
        onAfterRenderItem in interface IXFormRenderCallback
        Parameters:
        container - Container that will contain the item (with the class xm-item-div).
        item - The item handler of the item to render.
        renderCtx - Current item render context.
        renderData - Properties of the item to render.
      • onBeforeRenderForm

        public void onBeforeRenderForm​(IXForm xForm)
        Description copied from interface: IXFormRenderCallback
        Callback invoked before the form is about to be rendered. Never throws.
        Specified by:
        onBeforeRenderForm in interface IXFormRenderCallback
        Parameters:
        xForm - The descriptor of the form being rendered.
      • onBeforeRenderItem

        public void onBeforeRenderItem​(com.hp.gagawa.java.FertileNode container,
                                       IXItemBasic item,
                                       XItemRenderCtx renderCtx,
                                       XItemRenderData renderData)
        Description copied from interface: IXFormRenderCallback
        Callback invoked just before an item is rendered. Never throws.
        Specified by:
        onBeforeRenderItem in interface IXFormRenderCallback
        Parameters:
        container - Container that will contain the item (with the class xm-item-div).
        item - The item handler of the item to render.
        renderCtx - Current item render context.
        renderData - Properties of the item to render.