| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html> |
| <head> |
| <title>wml:Go</title> |
| <link rel="stylesheet" type="text/css" href="Tapestry.css" title="style"> |
| </head> |
| <body> |
| <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| <tr> |
| <td align="left"><a href="wml.Do.html"><img alt="Do" src="common-images/prev.png"></a></td> |
| <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td> |
| <td align="right"><a href="wml.Image.html"><img alt="Image" src="common-images/next.png"></a></td> |
| <tr> |
| <tr> |
| <td colspan="3"> |
| <hr> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="3"> |
| <table border="0" cellpadding="4" cellspacing="4" width="100%"> |
| <tr valign="top"> |
| <td> |
| <table> |
| <tr> |
| <td><font size="+2"><b>wml:Go</b></font></td> |
| </tr> |
| <tr> |
| <td> <A href="../api/org/apache/tapestry/wml/Go.html">org.apache.tapestry.wml.Go</a> |
| </td> |
| </tr> |
| </table> |
| </td> |
| <td> |
| <table align="right" valign="middle" bgcolor="#c0c0c0" cellpadding="8"> |
| <tr> |
| <td>Non Visual Component</td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr valign="center"> |
| <td colspan="2"> </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>Description</b> <br> |
| The <go> wml:Go component represents the action of switching to a |
| new card.</td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>See Also</b> <br> |
| <A href="wml.Input.html">wml:Input</a>, <A href="wml.PropertySelection.html">wml:PropertySelection</a>, |
| <A href="wml.Select.html">wml:Select</a> </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>Parameters</b> <br> |
| <table border="1" cellpadding="4" cellspacing="4" class="parameters"> |
| <tr> |
| <th>Name</th> |
| <th>Type</th> |
| <th>Direction</th> |
| <th>Required</th> |
| <th>Default</th> |
| <th>Description</th> |
| </tr> |
| <tr> |
| <td>method</td> |
| <td>String</td> |
| <td>in</td> |
| <td>yes</td> |
| <td> </td> |
| <td>The method used by the form when it is submitted, defaults |
| to POST.</td> |
| </tr> |
| <tr> |
| <td>listener</td> |
| <td> <A href="../api/org/apache/tapestry/IActionListener.html"><tt>IActionListener</tt></a> |
| </td> |
| <td>in</td> |
| <td>no</td> |
| <td> </td> |
| <td> Object invoked when the form is submitted, after all form |
| components have responded to the submission. </td> |
| </tr> |
| <tr> |
| <td>stateful</td> |
| <td>boolean</td> |
| <td>custom</td> |
| <td>no</td> |
| <td> </td> |
| <td>If true (the default), then an active HttpSession is required.</td> |
| </tr> |
| <tr> |
| <td>direct</td> |
| <td>boolean</td> |
| <td>in</td> |
| <td>no</td> |
| <td> </td> |
| <td> If true (the default), then the more efficient direct service |
| is used. If false, then the action service is used. </td> |
| </tr> |
| </table> |
| <p> Body: <strong>removed</strong><br> |
| Informal parameters: <strong>allowed</strong><br> |
| Reserved parameters: href </p> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <p><b>Example</b></p> |
| |
| <p>This example is the first part of the Hello world example.<br> |
| </p> |
| Template |
| <p> <code><?xml version="1.0" encoding="iso-8859-1" |
| ?><br> |
| <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" |
| <br> |
| "http://www.wapforum.org/DTD/wml_1.1.xml"><br> |
| </code></p> |
| <p><code><wml></code></p> |
| <p><code><card jwcid="<a href="wml.Card.html">wml:Card</a>" |
| id="Hello" title="ognl:@org.apache.tapestry.wap.hello.Home@TITLE"><br> |
| <p><br> |
| What is your name?<br> |
| <input jwcid="userInput@<a href="wml.Input.html">wml:Input</a>" |
| name="username" value="ognl:username"/><br> |
| </p><br> |
| <do type="accept" label="Accept"><br> |
| <go jwcid="go@<a href="wml.Go.html">wml:Go</a>" |
| stateful="ognl:false" listener="ognl:listeners.submit"><br> |
| <postfield jwcid="username@<a href="wml.Postfield.html">wml:Postfield</a>" |
| name="ognl:components.userInput.name" value="ognl:username"/><br> |
| </go><br> |
| </do><br> |
| </card><br> |
| <br> |
| </wml> </code></p> |
| Specification<br><br> |
| <code><page-specification class="org.apache.tapestry.wap.hello.Home"><br> |
| <property-specification name="username" type="java.lang.String" |
| persistent="yes"/><br> |
| </page-specification></code><br> |
| |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="3"> |
| <hr> |
| </td> |
| </tr> |
| <tr> |
| <td align="left"><a href="wml.Do.html"><img alt="Do" src="common-images/prev.png"></a></td> |
| <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td> |
| <td align="right"><a href="wml.Image.html"><img alt="Image" src="common-images/next.png"></a></td> |
| </tr> |
| </table> |
| </body> |
| </html> |