Class RenderableFtlFormElementsBuilder
java.lang.Object
org.apache.ofbiz.widget.renderer.macro.RenderableFtlFormElementsBuilder
Creates RenderableFtl objects used to render the various elements of a form.
-
Constructor Summary
ConstructorDescriptionRenderableFtlFormElementsBuilder
(VisualTheme visualTheme, RequestHandler requestHandler, HttpServletRequest request, HttpServletResponse response, StaticContentUrlProvider staticContentUrlProvider) -
Method Summary
Modifier and TypeMethodDescriptionasterisks
(Map<String, Object> context, ModelFormField modelFormField) containerMacroCall
(Map<String, Object> context, ModelFormField.ContainerField containerField) dateFind
(Map<String, Object> context, ModelFormField.DateFindField dateFindField) dateTime
(Map<String, Object> context, ModelFormField.DateTimeField dateTimeField) displayField
(Map<String, Object> context, ModelFormField.DisplayField displayField, boolean javaScriptEnabled) dropDownField
(Map<String, Object> context, ModelFormField.DropDownField dropDownField, boolean javaScriptEnabled) fieldGroupClose
(Map<String, Object> context, ModelForm.FieldGroup fieldGroup) fieldGroupOpen
(Map<String, Object> context, ModelForm.FieldGroup fieldGroup) hyperlinkMacroCall
(String linkStyle, String targetType, String target, Map<String, String> parameterMap, String description, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context, String targetWindow) label
(Map<String, Object> context, ModelScreenWidget.Label label) makeHyperlinkByType
(String linkType, String linkStyle, String targetType, String target, Map<String, String> parameterMap, String description, String targetWindow, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) makeHyperlinkString
(ModelFormField.SubHyperlink subHyperlink, Map<String, Object> context) textArea
(Map<String, Object> context, ModelFormField.TextareaField textareaField) textField
(Map<String, Object> context, ModelFormField.TextField textField, boolean javaScriptEnabled) tooltip
(Map<String, Object> context, ModelFormField modelFormField)
-
Constructor Details
-
RenderableFtlFormElementsBuilder
public RenderableFtlFormElementsBuilder(VisualTheme visualTheme, RequestHandler requestHandler, HttpServletRequest request, HttpServletResponse response, StaticContentUrlProvider staticContentUrlProvider)
-
-
Method Details
-
tooltip
-
asterisks
-
label
-
displayField
public RenderableFtl displayField(Map<String, Object> context, ModelFormField.DisplayField displayField, boolean javaScriptEnabled) -
textField
public RenderableFtl textField(Map<String, Object> context, ModelFormField.TextField textField, boolean javaScriptEnabled) -
textArea
public RenderableFtl textArea(Map<String, Object> context, ModelFormField.TextareaField textareaField) -
dateTime
public RenderableFtl dateTime(Map<String, Object> context, ModelFormField.DateTimeField dateTimeField) -
dateFind
public RenderableFtl dateFind(Map<String, Object> context, ModelFormField.DateFindField dateFindField) -
makeHyperlinkString
public RenderableFtl makeHyperlinkString(ModelFormField.SubHyperlink subHyperlink, Map<String, Object> context) -
makeHyperlinkByType
public RenderableFtl makeHyperlinkByType(String linkType, String linkStyle, String targetType, String target, Map<String, String> parameterMap, String description, String targetWindow, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) -
hyperlinkMacroCall
public RenderableFtl hyperlinkMacroCall(String linkStyle, String targetType, String target, Map<String, String> parameterMap, String description, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context, String targetWindow) -
containerMacroCall
public RenderableFtlMacroCall containerMacroCall(Map<String, Object> context, ModelFormField.ContainerField containerField) -
fieldGroupOpen
public RenderableFtlMacroCall fieldGroupOpen(Map<String, Object> context, ModelForm.FieldGroup fieldGroup) -
fieldGroupClose
public RenderableFtlMacroCall fieldGroupClose(Map<String, Object> context, ModelForm.FieldGroup fieldGroup) -
dropDownField
public RenderableFtl dropDownField(Map<String, Object> context, ModelFormField.DropDownField dropDownField, boolean javaScriptEnabled)
-