[ http://issues.apache.org/jira/browse/TAPESTRY-1?page=all ]
     
Brian K. Wallace closed TAPESTRY-1:
-----------------------------------


> 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, 4.0

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to