public class FormHelper extends Object
Constructor and Description |
---|
FormHelper() |
public static IXForm buildXForm(IFormRenderContext renderCtx) throws com.alibaba.fastjson.JSONException, IOException
com.alibaba.fastjson.JSONException
IOException
public static IXFormRenderConfig buildXFormConfig(IFormRenderContext renderCtx) throws IOException
IOException
public static String renderAsString(IXForm form, IXFormRenderConfig config, Map<String,List<String[]>> valuesMap) throws com.alibaba.fastjson.JSONException, IOException
com.alibaba.fastjson.JSONException
IOException
public static void renderToRequestContext(IXForm form, IXFormRenderConfig config, Map<String,List<String[]>> valuesMap, IExtendedFormRequestContext requestCtx)
public static void renderToRequestResponse(IXForm form, IXFormRenderConfig config, IXFormRenderContext formRenderContext, Map<String,List<String[]>> valuesMap, javax.servlet.http.HttpServletResponse response) throws com.alibaba.fastjson.JSONException
com.alibaba.fastjson.JSONException
public static String renderAsString(IXForm form, IXFormRenderConfig config, IXFormRenderContext formRenderCtx) throws com.alibaba.fastjson.JSONException, IOException
com.alibaba.fastjson.JSONException
IOException
public static void renderToRequestContext(IXForm form, IXFormRenderConfig config, IExtendedFormRequestContext requestCtx, Map<String,List<String[]>> values)
public static void renderToRequestContext(IXForm form, IXFormRenderConfig config, IExtendedFormRequestContext requestCtx)
public static void renderToRequestResponse(IXForm form, IXFormRenderConfig config, IXFormRenderContext formRenderCtx, javax.servlet.http.HttpServletResponse response) throws com.alibaba.fastjson.JSONException
com.alibaba.fastjson.JSONException
public static Map<String,IPluginFormElementWidget> getFormElementWidgetPlugins(Mandant client)
public static Map<String,org.apache.commons.lang3.tuple.Pair<IPluginFormElementWidget,Long>> getFormElementWidgetPluginsWithInstanceTime(Mandant client)
@Deprecated public static com.alibaba.fastjson.JSONObject buildXFormJSON(FormRenderContext renderCtx) throws IOException, com.alibaba.fastjson.JSONException
IOException
com.alibaba.fastjson.JSONException
public static boolean validateFD2Form(IXForm xForm, IXFormRenderConfig config, IExtendedFormRequestContext requestCtx)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.