Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Note

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Wiki Markup
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.Form}

Parameters

Wiki Markup
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/form.html}

Examples

Wiki Markup
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.components.Form}

Validation

There are two flavours Client Side Validation, depending on the theme you are using (xhtml, ajax, etc). If you are using the xhtml theme or css_xhtml theme, pure client side validation will be used. If you are using the ajax theme, a special AJAX-based validation will take place. Read the Client Side Validation docs for more information

Talk generally about the form, behaviors, etc. Mention theme-specific notes as well.

...

Attribute

...

Type

...

Required

...

Default

...

Theme

...

Description

...

action

...

String

...

Yes

...

N/A

...

simple

...

...

...

namespace

...

String

...

No

...

The current namespace

...

simple

...

...

...

validate

...

boolean

...

No

...

false

...

xhtml

...

.