mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Update docs per WW-1954.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@557348 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -48,19 +48,19 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <p/> <b>Examples</b>
|
||||
* <pre>
|
||||
* <!-- START SNIPPET: example -->
|
||||
* <s:submit value="%{'Submit'}" />
|
||||
* <s:submit value="%{'Submit the form'}" />
|
||||
* <!-- END SNIPPET: example -->
|
||||
* </pre>
|
||||
* <pre>
|
||||
* <!-- START SNIPPET: example2 -->
|
||||
* Render an image submit:
|
||||
* <s:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>
|
||||
* <s:submit type="image" value="%{'Submit the form'}" src="submit.gif"/>
|
||||
* <!-- END SNIPPET: example2 -->
|
||||
* </pre>
|
||||
* <pre>
|
||||
* <!-- START SNIPPET: example3 -->
|
||||
* Render an button submit:
|
||||
* <s:submit type="button" value="%{'Submit'}" label="Submit the form"/>
|
||||
* <s:submit type="button" value="%{'Submit the form'}"/>
|
||||
* <!-- END SNIPPET: example3 -->
|
||||
* </pre>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user