| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html> |
| <head> |
| <title>wml:Option</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.OnEvent.html"><img alt="OnEvent" 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.Postfield.html"><img alt="Postfield" 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:Option</b></font></td> |
| </tr> |
| <tr> |
| <td> <A href="../api/org/apache/tapestry/wml/Option.html">org.apache.tapestry.wml.Option</a></td> |
| </tr> |
| </table> |
| </td> |
| <td> |
| <table align="right" valign="middle" cellpadding="8"> |
| <tr> |
| <td><IMG alt="Image Component" src="images/wml.select.png" ></td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr valign="center"> |
| <td colspan="2"> </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>Description</b> <br> |
| This component serves as a container for one item that is listed as |
| a choice in a wml:Select. A wml:Select offers a selection of choices |
| from which usersu may choose one or more items. The select list is |
| created using a select element which contains a collection of option |
| elements. A string or text describing the item appears between the |
| opening and closing option tags. </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>See Also</b> <br> |
| <A href="wml.Go.html">wml:Go</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>value</td> |
| <td>String</td> |
| <td>in</td> |
| <td>yes</td> |
| <td> </td> |
| <td> The value attribute specifies the value to be used when setting |
| the name variable. When the user selects this option, the resulting |
| value specified in the value attribute is used to set the Select |
| element's name wml variable. </td> |
| </tr> |
| </table> |
| <p> Body: <strong>removed</strong><br> |
| Informal parameters: <strong>allowed</strong><br> |
| Reserved parameters: none </p> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="2"> <b>Examples</b> |
| <p> Please see the documentation for the <a href="wml.Select.html">wml:Select</a> |
| component.</p> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="3"> |
| <hr> |
| </td> |
| </tr> |
| <tr> |
| <td align="left"><a href="wml.OnEvent.html"><img alt="OnEvent" 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.Postfield.html"><img alt="Postfield" src="common-images/next.png"></a></td> |
| </tr> |
| </table> |
| </body> |
| </html> |