blob: 880c0387bd5a1c31cac3c1b3027141c36ba4c2d3 [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE component-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://tapestry.apache.org/dtd/Tapestry_4_0.dtd">
<component-specification class="org.apache.tapestry.components.IfBean" allow-body="yes" allow-informal-parameters="yes">
<description>
Conditionally emulates an element and its attributes and/or includes a block of content
if a condition is met.
</description>
<parameter name="condition" required="yes">
<description>
The condition to evaluate.
</description>
</parameter>
<parameter name="conditionValue">
<description>
The value of the condition. During render this is obtained from
the condition parameter. During rewind it is the submitted condition.
</description>
</parameter>
<parameter name="listener"/>
<parameter name="renderTag" default-value="ognl:defaultRenderTags" />
<parameter name="element" deprecated="yes" >
<description>
The element to emulate. Usage deprecated, please use the renderTag parameter to control
whether or not to render the tag.
</description>
</parameter>
<parameter name="volatile" default-value="false">
<description>
Only active in a form. Determines whether to avoid creating hidden fields within a form.
Using this parameter may make the form structure different during render and rewind,
and cause exceptions as a result. Please use with caution.
</description>
</parameter>
<property name="name"/>
<property name="form"/>
<inject property="defaultRenderTags" object="app-property:org.apache.tapestry.renderTags" />
<inject property="dataSqueezer" object="service:tapestry.data.DataSqueezer"/>
<inject property="listenerInvoker" object="infrastructure:listenerInvoker"/>
</component-specification>