You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Paul Ferraro (JIRA)" <ta...@jakarta.apache.org> on 2005/03/17 20:43:20 UTC
[jira] Resolved: (TAPESTRY-1) contrib:FormConditional element parameter render test is wrong
[ http://issues.apache.org/jira/browse/TAPESTRY-1?page=history ]
Paul Ferraro resolved TAPESTRY-1:
---------------------------------
Assign To: Paul Ferraro (was: Tapestry Developer List)
Resolution: Fixed
Fix Version: 3.0.3
3.1
Patch applied.
> contrib:FormConditional element parameter render test is wrong
> --------------------------------------------------------------
>
> Key: TAPESTRY-1
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1
> Project: Tapestry
> Type: Bug
> Components: Contrib
> Versions: 3.0
> Environment: Operating System: All
> Platform: All
> Reporter: Michael Hamilton
> Assignee: Paul Ferraro
> Fix For: 3.0.3, 3.1
>
> FormCondition has an incorrect test for enabling the rendering of the element -
> the cycleRewinding test should be !cycleRewinding.
> ---- snip ----
> ---
> /usr/local/toolset/Java/Tapestry-3.0/src/contrib/src/org/apache/tapestry/contrib/form/FormConditional.java
> 2004-04-19 03:00:17.000000000 +1200
> +++ org/apache/tapestry/contrib/form/FormConditional.java 2004-05-15
> 13:20:33.000000000 +1200
> @@ -72,7 +72,7 @@
> if (condition) {
> String element = getElement();
> - boolean render = cycleRewinding && Tapestry.isNonBlank(element);
> + boolean render = !cycleRewinding && Tapestry.isNonBlank(element);
> if (render)
> {
> ---- snip ----
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org