public class FormViewElementBuilder extends AbstractLinkSupportingNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>
| Constructor and Description |
|---|
FormViewElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FormViewElementBuilder |
acceptCharSet(String charSet) |
FormViewElementBuilder |
action(String url) |
FormViewElementBuilder |
add(com.foreach.across.modules.web.ui.ViewElement... viewElements) |
FormViewElementBuilder |
add(com.foreach.across.modules.web.ui.ViewElementBuilder... viewElements) |
FormViewElementBuilder |
addAll(Iterable<?> viewElements) |
FormViewElementBuilder |
attribute(String name,
Object value) |
FormViewElementBuilder |
attributes(Map<String,Object> attributes) |
FormViewElementBuilder |
autoComplete(boolean on) |
FormViewElementBuilder |
clearAttributes() |
FormViewElementBuilder |
commandAttribute(String attributeName)
Set the attribute name of the command object that should be bound to this form.
|
FormViewElementBuilder |
commandObject(Object commandObject)
Set the command object that should be bound to this form.
|
protected FormViewElement |
createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext viewElementBuilderContext) |
FormViewElementBuilder |
customTemplate(String template) |
FormViewElementBuilder |
errors(org.springframework.validation.Errors errors)
Set the
Errors that should be used for field error binding by t
he FormGroupElement members of this form. |
FormViewElementBuilder |
formLayout(FormLayout formLayout) |
FormViewElementBuilder |
formName(String name) |
FormViewElementBuilder |
get()
Change the method attribute to GET.
|
FormViewElementBuilder |
htmlId(String htmlId) |
FormViewElementBuilder |
multipart()
Create a multipart form.
|
FormViewElementBuilder |
name(String name) |
FormViewElementBuilder |
noValidate() |
FormViewElementBuilder |
post()
Change the method attribute to POST.
|
FormViewElementBuilder |
postProcessor(com.foreach.across.modules.web.ui.ViewElementPostProcessor<FormViewElement> postProcessor) |
FormViewElementBuilder |
removeAttribute(String name) |
FormViewElementBuilder |
sort(String... elementNames) |
buildLink, linkBuilderescapeHtml, isEscapeHtml, resolveTextElement, toTextElementapply, css, removeCssaddFirst, addFirstbuild, configure, elementSupplier, elementSupplier, postProcess, registerWebResources, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic FormViewElementBuilder commandAttribute(String attributeName)
BindingResult is present on the model
for this attribute. That BindingResult will be used
for field error binding by the FormGroupElement
members of this form.attributeName - name of the command objectpublic FormViewElementBuilder commandObject(Object commandObject)
BindingResult is present on the model
for this object. That BindingResult will be used
for field error binding by the FormGroupElement
members of this form.commandObject - command objectpublic FormViewElementBuilder errors(org.springframework.validation.Errors errors)
Errors that should be used for field error binding by t
he FormGroupElement members of this form.errors - to use for field error lookuppublic FormViewElementBuilder action(String url)
url - to use for the action attributepublic FormViewElementBuilder multipart()
public FormViewElementBuilder get()
public FormViewElementBuilder post()
public FormViewElementBuilder formName(String name)
public FormViewElementBuilder acceptCharSet(String charSet)
public FormViewElementBuilder noValidate()
public FormViewElementBuilder autoComplete(boolean on)
public FormViewElementBuilder formLayout(FormLayout formLayout)
public FormViewElementBuilder htmlId(String htmlId)
htmlId in interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<FormViewElement,FormViewElementBuilder>htmlId in class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder attribute(String name, Object value)
attribute in interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<FormViewElement,FormViewElementBuilder>attribute in class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder attributes(Map<String,Object> attributes)
attributes in interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<FormViewElement,FormViewElementBuilder>attributes in class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder removeAttribute(String name)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<FormViewElement,FormViewElementBuilder>removeAttribute in class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder clearAttributes()
clearAttributes in interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<FormViewElement,FormViewElementBuilder>clearAttributes in class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder add(com.foreach.across.modules.web.ui.ViewElement... viewElements)
add in class com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder add(com.foreach.across.modules.web.ui.ViewElementBuilder... viewElements)
add in class com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder addAll(Iterable<?> viewElements)
addAll in class com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder sort(String... elementNames)
sort in class com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder name(String name)
name in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder customTemplate(String template)
customTemplate in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>public FormViewElementBuilder postProcessor(com.foreach.across.modules.web.ui.ViewElementPostProcessor<FormViewElement> postProcessor)
postProcessor in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>protected FormViewElement createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext viewElementBuilderContext)
createElement in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<FormViewElement,FormViewElementBuilder>Copyright © 2020. All rights reserved.