Class FormRenderHelper
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.render.FormRenderHelper
-
public final class FormRenderHelper extends Object
Helper methods for rendering form element for the form designer.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormRenderHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
createRenderedItem(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IXFormRenderConfig renderConfig, RenderItemParams params)
static String
createRenderedPreview(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projectId, long workflowVersionId, PreviewParams params)
-
-
-
Method Detail
-
createRenderedItem
public static String createRenderedItem(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IXFormRenderConfig renderConfig, RenderItemParams params)
- Parameters:
req
- Currently active HTTP request.resp
- Currently active HTTP response.renderConfig
- Current form render config.params
- Params from the HTTP request.- Returns:
- The rendered HTML for the given item.
-
createRenderedPreview
public static String createRenderedPreview(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projectId, long workflowVersionId, PreviewParams params)
- Parameters:
req
- Currently active HTTP request.resp
- Currently active HTTP response.projectId
- ID of the current project being edited.workflowVersionId
- ID of the workflow version being edited.params
- Params from the HTTP request.- Returns:
- The rendered HTML with a preview of the form.
-
-