blob: 90afcd9c6fea76832f73f11e3deaa1c831ce37b9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id$ -->
<html>
<head>
<title>contrib:Otherwise</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="contrib.InspectorButton.html"><img alt="contrib:InspectorButton" 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="contrib.PopupLink.html"><img alt="contrib:PopupLink" 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>contrib:Otherwise</b></font></td>
</tr>
<tr>
<td>
<A href="../api/org/apache/tapestry/contrib/components/When.html">org.apache.tapestry.contrib.components.Otherwise</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">&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<b>Description</b>
<br>
Provides a default condition for contrib:Choose component. Other alternatives
are indicated by contrib:When components.
<p>Must have contrib:Choose as an immediate parent and must be the
last nested component within contrib:Choose.</p>
</td>
</tr>
<tr>
<td colspan="2">
<b>See Also</b>
<br>
<A href="Conditional.html">Conditional</a>, <A href="contrib.Choose.html">contrib:Choose</a>,
<A href="contrib.When.html">contrib:When</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>element</td>
<td>String</td>
<td>in</td>
<td>no</td>
<td>&nbsp;</td>
<td>If specified and none of the conditions in any When component
is satisfied, then the component acts like an <a href="Any.html">Any</a>,
emitting an open and close tag. Informal parameters are applied
to the tag. If no element is specified, informal parameters
are ignored.</td>
</tr>
</table>
<p> Body: <strong>rendered</strong><br>
Informal parameters: <strong>allowed</strong><br>
Reserved parameters: <em>condition</em>, <em>invert</em></p>
</td>
</tr>
<tr>
<td colspan="2"> <b>Examples</b>
<p> Please see the documentation for the <a href="contrib.Choose.html">contrib:Choose</a>
component.</p>
</td></tr></table>
</td></tr>
<tr>
<td colspan="3"><hr></td>
</tr>
<tr>
<td align="left"><a href="contrib.InspectorButton.html"><img alt="contrib:InspectorButton" 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="contrib.PopupLink.html"><img alt="contrib:PopupLink" src="common-images/next.png"></a></td>
</tr>
</table>
</body>
</html>