[
https://issues.apache.org/jira/browse/TAPESTRY-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474800
]
Howard M. Lewis Ship commented on TAPESTRY-1276:
------------------------------------------------
Does the else parameter (a block) suffice, as in:
<t:comp type="If" test="order.lineItems">
. . . <!-- Display the line items, etc. -->
<t:parameter name="else">
There are no llne items in this order.
</t:parameter>
</t:comp>
> IF component should include an optional 'negate' parameter
> ----------------------------------------------------------
>
> Key: TAPESTRY-1276
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1276
> Project: Tapestry
> Issue Type: New Feature
> Components: Core
> Affects Versions: 5.0
> Environment: MacOS X 10.4.8, Eclipse 3.2.1
> Reporter: Randy Leonard
> Priority: Minor
> Fix For: 5.0
>
>
> It would be useful for the 'If' component to take an optional 'negate'
> parameter, much like the WOCondition component in WebObjects. This would
> allow the component content to be rendered if the associated condition is
> FALSE instead of TRUE, therefore eliminating the need to write an additional
> Java method to perform this negate operation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]