commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc DeXeT (JIRA)" <>
Subject [jira] Created: (JELLY-196) SwitchTag can not be reused if default encountered
Date Tue, 18 Jan 2005 20:59:20 GMT
SwitchTag can not be reused if default encountered

         Key: JELLY-196
     Project: jelly
        Type: Bug
  Components: core / taglib.core  
    Versions: 1.0    
 Environment: 1.0-RC2-SNAPSHOT
    Reporter: Marc DeXeT

Script as 
	<j:forEach var="var" items="a,b">
		<j:switch on="${var}">
			<j:case value="unencountered1">
				<j:set var="res" value="1"/>
			<j:case value="unencountered2">
				<j:set var="res" value="2"/>
				<j:set var="res" value="default"/>			

throws "<default> should be the last tag within a <switch>" because of SwitchTag
boolean property defaultEncountered is not reset.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message