Class XItemRenderer


  • public class XItemRenderer
    extends Object
    • Constructor Detail

      • XItemRenderer

        public XItemRenderer()
    • Method Detail

      • addHtmlAttributes

        public static void addHtmlAttributes​(com.hp.gagawa.java.Node node,
                                             XItemRenderData renderData)
        Adds HTML attributes to a node from XPropertyEnum.attributes configuration
        Parameters:
        node - HTML-Element an welches die Attribute angehängt werden sollen
        renderData - XItemRenderData
      • addValidationAttributes

        @Deprecated
        public static void addValidationAttributes​(com.hp.gagawa.java.Node node,
                                                   XItemRenderData renderData)
        Deprecated.
        Validation rules are not registered with HTML attributes anymore. They will be available in global JSON object XM_FORM_MODEL.validation.fields in the client
        Hinzufügen von HTML-Attributen mittels Reference
        Parameters:
        node - HTML-Element an welches die Attribute angehängt werden sollen
        renderData - XItemRenderData