...
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.Submit} |
Wiki Markup |
Note |
---|
To use method attribute (to use multiple submit buttons which direct to different action methods) you must set struts.enable.DynamicMethodInvocation to true but this can lead to security vulnerability - use with care! Instead you can try to use Multiple Submit Buttons solution. {snippet:id=ajaxJavadoc|javadoc=true|url=org.apache.struts2.components.Submit} |
Note |
---|
This tag works with all themes, but has special importance when combined with the form tag in the ajax theme. Please read up on the ajax theme for more information. |
...
Wiki Markup |
---|
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/submit.html} |
Examples
Example 1
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.components.Submit} |
Example 2
Wiki Markup |
---|
{snippet:id=example2|lang=xml|javadoc=true|url=org.apache.struts2.components.Submit} |
Example 3
Wiki Markup |
---|
{snippet:id=example3|lang=xml|javadoc=true|url=org.apache.struts2.components.Submit} |
Example 4
Wiki Markup |
---|
{snippet:id=ajxExDescription1|javadoc=true|url=org.apache.struts2.components.Submit} |
Wiki Markup |
---|
{snippet:id=ajxExample1|javadoc=true|lang=xml|url=org.apache.struts2.components.Submit} |