blob: 5c6500f9a91227294228db9d25cbf56ce72f375c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id$ -->
<html>
<head>
<title>Button</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="Body.html"><IMG alt="Body" 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="Checkbox.html"><IMG alt="Checkbox" 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%">
<TBODY>
<tr valign="top">
<td>
<table>
<tr>
<td><font size="+2"><b>Button</b></font></td>
</tr>
<tr>
<td>
<A href="../api/org/apache/tapestry/form/Button.html">
org.apache.tapestry.form.Button</A>
</td>
</tr>
</table>
</td>
<td>
<table align="right" valign="middle" bgcolor="#c0c0c0" cellspacing="8">
<tr>
<td><input type="button" value="Button"></td>
</tr>
</table>
</td>
</table></td>
</tr>
<tr valign="center">
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<b>Description</b>
<br>
Provides a HTML form button element &lt;input type="button"&gt; for attaching
JavaScript onclick event handlers.
</td>
</tr>
<tr>
<td colspan="2">
<b>See Also</b>
<br>
<A href="Form.html">Form</A>,
<A href="Script.html">Script</A>,
<A href="Submit.html">Submit</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>label</td>
<td>String</td>
<td>in</td>
<td>no</td>
<td>&nbsp;</td>
<td>The label put on the button (this becomes the HTML value attribute).
</td>
</tr>
<tr>
<td>disabled
<td>boolean</td>
<td>in</td>
<td>no</td>
<td>false</td>
<td>
If set to true, the button will be disabled (will not respond to
the mouse); the browser should provide a "greyed out" appearance.
</td>
</tr>
</table><BR>Body: <STRONG>removed</STRONG><BR>
Informal parameters: <STRONG>allowed</STRONG><br>
Reserved parameters: "name", "type"
</td>
</tr>
<tr>
<td colspan="2">
<b>Examples</b>
<p>
This example is under construction.
</td></tr></table>
<tr>
<td colspan="3"><hr></td>
</tr>
<tr>
<td align="left"><A href="Body.html"><IMG alt="Body" 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="Checkbox.html"><IMG alt="Checkbox" src="common-images/next.png"></A></td>
</tr></TBODY>
</body>
</html>