Package de.xima.fc.form.common
Class XItemRenderer
- java.lang.Object
-
- de.xima.fc.form.common.XItemRenderer
-
public class XItemRenderer extends Object
-
-
Constructor Summary
Constructors Constructor Description XItemRenderer()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
addHtmlAttributes(com.hp.gagawa.java.Node node, XItemRenderData renderData)
Adds HTML attributes to a node from XPropertyEnum.attributes configurationstatic void
addValidationAttributes(com.hp.gagawa.java.Node node, XItemRenderData renderData)
Deprecated.Validation rules are not registered with HTML attributes anymore.static com.hp.gagawa.java.elements.Div
render(XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx, com.alibaba.fastjson.JSONObject clientModel)
-
-
-
Method Detail
-
render
public static com.hp.gagawa.java.elements.Div render(XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx, com.alibaba.fastjson.JSONObject clientModel)
-
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 sollenrenderData
- 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 clientHinzufügen von HTML-Attributen mittels Reference- Parameters:
node
- HTML-Element an welches die Attribute angehängt werden sollenrenderData
- XItemRenderData
-
-