Class XItem

    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • XItem

        public XItem​(com.alibaba.fastjson.JSONObject jsonObject,
                     com.alibaba.fastjson.JSONObject version)
    • Method Detail

      • render

        @Deprecated
        public com.hp.gagawa.java.elements.Div render​(IXFormRenderConfig xFormRenderConfig,
                                                      HashMap<String,​com.hp.gagawa.java.FertileNode> parents,
                                                      Map<String,​List<String[]>> valuesMap,
                                                      boolean forceDisabled,
                                                      IXFormRenderContext formRenderCtx,
                                                      com.alibaba.fastjson.JSONObject clientModel,
                                                      boolean attributeCompatMode,
                                                      boolean elementClassNameMode)
        Parameters:
        xFormRenderConfig - Current form render configuration.
        parents - Map between the ID of an element and the IDs of all its parents.
        valuesMap - Map between the ID of an element and its values.
        forceDisabled - Whether to force the element to be disabled (not editable).
        formRenderCtx - Current form render context.
        clientModel - Data about the current client.
        attributeCompatMode - Whether the items should be rendered so that it conforms to the W3C HTML standard (such as no custom attributes other that data- etc. This is for backwards compatibility, new elements should always render in an HTML-compliant manner).
        elementClassNameMode - Whether to include a CSS class with the name of the element.
        Returns:
        The rendered HTML of the item.
      • render

        @Deprecated
        public com.hp.gagawa.java.elements.Div render​(IXFormRenderConfig xFormRenderConfig,
                                                      HashMap<String,​com.hp.gagawa.java.FertileNode> parents,
                                                      Map<String,​List<String[]>> valuesMap,
                                                      boolean forceDisabled,
                                                      IXFormRenderContext formRenderCtx,
                                                      boolean designerPreview,
                                                      com.alibaba.fastjson.JSONObject clientModel,
                                                      boolean attributeCompatMode,
                                                      boolean elementClassNameMode)
        Parameters:
        xFormRenderConfig - Current form render configuration.
        parents - Map between the ID of an element and the IDs of all its parents.
        valuesMap - Map between the ID of an element and its values.
        forceDisabled - Whether to force the element to be disabled (not editable).
        formRenderCtx - Current form render context.
        designerPreview - Whether the element should be rendered for the form designer preview (as opposed to the live form users can fill in).
        clientModel - Data about the current client.
        attributeCompatMode - Whether the items should be rendered so that it conforms to the W3C HTML standard (such as no custom attributes other that data- etc. This is for backwards compatibility, new elements should always render in an HTML-compliant manner).
        elementClassNameMode - Whether to include a CSS class with the name of the element.
        Returns:
        The rendered HTML of the item.