You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/11 07:40:43 UTC

[jira] Closed: (MAVEN-1621) core:swith tag does not work in a loop

     [ http://jira.codehaus.org/browse/MAVEN-1621?page=all ]
     
Brett Porter closed MAVEN-1621:
-------------------------------

    Resolution: Won't Fix

this should be filed against Jelly instead.

> core:swith tag does not work in a loop
> --------------------------------------
>
>          Key: MAVEN-1621
>          URL: http://jira.codehaus.org/browse/MAVEN-1621
>      Project: maven
>         Type: Bug
>  Environment: Windows XP
>     Reporter: Jay Yan

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> Jelly swith tag has a bug, so that such a script fails:
>   <j:forEach begin="1" end="3" var="index">
>     <j:switch on="index">
>       <j:default>
>         ${index}
>       </j:default>
>     </j:switch>
>   </j:forEach>
> The cause is that SwithTag.doTag does not refresh those boolean values at the beginning.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org