Author: tmjee
Date: Wed Aug 30 00:45:32 2006
New Revision: 438411
URL: http://svn.apache.org/viewvc?rev=438411&view=rev
Log:
WW-1422
- alter if tag example (jsp / freemarker template) in showcase to test for
this issue.
- the example should have tested most
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.ftl
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.jsp
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.ftl
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.ftl?rev=438411&r1=438410&r2=438411&view=diff
==============================================================================
---
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.ftl
(original)
+++
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.ftl
Wed Aug 30 00:45:32 2006
@@ -2,67 +2,606 @@
<head>
<title>TEST IF</title>
</head>
- <body>
-<!-- 1 -->
+<body>
+<p>
+This is a simple freemarker template to test the If Tag (using freemarker
directive).
+There's quite a few combination being tested. The characters in bold and
non-bold should be the same.
+</p>
+
+
+<b>1 - Foo -</b>
<@s.if test="true">
- 1]THIS SHOULD APPEAR <br/>
+ Foo
</@s.if>
<@s.else>
- THIS SHOULD NOT APPEAR <br/>
+ Bar
</@s.else>
-
-
-<!-- 2 -->
+<hr/>
+<b>2 - Bar -</b>
<@s.if test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Foo
+</@s.if>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>3 - FooFooFoo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.if>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>4 - FooBarBar - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.if>
+<hr/>
+<b>5 - BarFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.else>
+ Bar
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.else>
+<hr/>
+<b>6 - BarBarBar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.else>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.else>
+<hr/>
+<b>7 - Foo - </b>
+<@s.if test="true">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>8 - Moo - </b>
+<@s.if test="false">
+ Foo
</@s.if>
<@s.elseif test="true">
- 2]THIS SHOULD APPEAR <br/>
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>9 - Bar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>10 - FooFooFoo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>11 - FooMooMoo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.if>
+<@s.elseif test="false">
+ Moo
</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>12 - FooBarBar - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>13 - MooFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>14 - MooMooMoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>15 - MooBarBar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+<hr/>
+<b>16 - BarFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.else>
+<hr/>
+<b>17 - BarMooMoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.else>
+<hr/>
+<b>18 - BarBarBar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+ <@s.else>
+ BarBar
+ </@s.else>
+</@s.else>
+
+<hr/>
+<b>19 - Foo - </b>
+<@s.if test="true">
+ Foo
+</@s.if>
-<!-- 3 -->
+<hr/>
+<b>20 - ** should not display anything ** - </b>
<@s.if test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Foo
+</@s.if>
+
+<hr/>
+<b>21 FooFooFoo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+</@s.if>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>22 - Foo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+</@s.if>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>23 - BarFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.else>
+ Bar
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+</@s.else>
+
+<hr/>
+<b>24 - Bar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.else>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+</@s.else>
+
+<hr/>
+<b>25 - FooFooFoo</b>
+<@s.if test="true">
+ Foo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>26 - FooMooMoo</b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<b>27 - Foo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
</@s.if>
<@s.elseif test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<b>28 - MooFooFoo</b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+
+<b>29 - MooMooMoo</b>
+<@s.if test="false">
+ Foo
+</@s.if>
<@s.elseif test="true">
- 3]THIS SHOULD APPEAR <br/>
+ Moo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+
+<b>30 - Moo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
<@s.elseif test="true">
- THIS SHOULD NOT APPEAR <br/>
+ Moo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+
+<b>31 - BarFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
</@s.elseif>
<@s.else>
- THIS SHOULD NOT APPEAR <br/>
+ Bar
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
</@s.else>
-<!-- 4 -->
+<b>32 - BarMooMoo - </b>
<@s.if test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Foo
</@s.if>
<@s.elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</@s.elseif>
<@s.else>
- 4]THIS SHOULD APPEAR<br/>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="true">
+ MooMoo
+ </@s.elseif>
</@s.else>
-<!-- 5 -->
+<b>33 - Bar - </b>
<@s.if test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Foo
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+ <@s.elseif test="false">
+ MooMoo
+ </@s.elseif>
+</@s.else>
+
+<hr/>
+<b>34 - FooFooFoo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
</@s.if>
<@s.elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>35 - Foo - </b>
+<@s.if test="true">
+ Foo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
+</@s.if>
+<@s.elseif test="false">
+ Moo
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>36 - MooFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>37 - Moo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
+<@s.elseif test="true">
+ Moo
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
</@s.elseif>
+<@s.else>
+ Bar
+</@s.else>
+
+<hr/>
+<b>38 - BarFooFoo - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
<@s.elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</@s.elseif>
+<@s.else>
+ Bar
+ <@s.if test="true">
+ FooFoo
+ </@s.if>
+</@s.else>
+
+<hr/>
+<b>39 - Bar - </b>
+<@s.if test="false">
+ Foo
+</@s.if>
<@s.elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</@s.elseif>
<@s.else>
- 5]THIS SHOULD APPEAR<br/>
+ Bar
+ <@s.if test="false">
+ FooFoo
+ </@s.if>
</@s.else>
- </body>
+
+
+
+
+</body>
</html>
+
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.jsp
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.jsp?rev=438411&r1=438410&r2=438411&view=diff
==============================================================================
---
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.jsp
(original)
+++
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/ifTag/testIf.jsp
Wed Aug 30 00:45:32 2006
@@ -7,69 +7,608 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Insert title here</title>
+<title>Test If Tag</title>
</head>
<body>
-<!-- 1 -->
+<p>
+This is a simple jsp to test the If Tag. There's quite a few combination being
tested.
+The characters in bold an non-bold should be the same.
+</p>
+
+
+<b>1 - Foo -</b>
<s:if test="true">
- 1]THIS SHOULD APPEAR <br/>
+ Foo
</s:if>
<s:else>
- THIS SHOULD NOT APPEAR <br/>
+ Bar
</s:else>
-
-
-<!-- 2 -->
+<hr/>
+<b>2 - Bar -</b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>3 - FooFooFoo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:else>
+ BarBar
+ </s:else>
+</s:if>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>4 - FooBarBar - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:else>
+ BarBar
+ </s:else>
+</s:if>
+<hr/>
+<b>5 - BarFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:else>
+ Bar
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:else>
+ BarBar
+ </s:else>
+</s:else>
+<hr/>
+<b>6 - BarBarBar - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:else>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:else>
+ BarBar
+ </s:else>
+</s:else>
+<hr/>
+<b>7 - Foo - </b>
+<s:if test="true">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>8 - Moo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>9 - Bar - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>10 - FooFooFoo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>11 - FooMooMoo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>12 - FooBarBar - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>13 - MooFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>14 - MooMooMoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>15 - MooBarBar - </b>
<s:if test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Foo
</s:if>
<s:elseif test="true">
- 2]THIS SHOULD APPEAR <br/>
+ Moo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
</s:elseif>
+<s:else>
+ Bar
+</s:else>
+<hr/>
+<b>16 - BarFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:else>
+<hr/>
+<b>17 - BarMooMoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:else>
+<hr/>
+<b>18 - BarBarBar - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+ <s:else>
+ BarBar
+ </s:else>
+</s:else>
+
+<hr/>
+<b>19 - Foo - </b>
+<s:if test="true">
+ Foo
+</s:if>
+
+<hr/>
+<b>20 - ** should not display anything ** - </b>
+<s:if test="false">
+ Foo
+</s:if>
+
+<hr/>
+<b>21 FooFooFoo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+</s:if>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>22 - Foo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+</s:if>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>23 - BarFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:else>
+ Bar
+ <s:if test="true">
+ FooFoo
+ </s:if>
+</s:else>
-<!-- 3 -->
+<hr/>
+<b>24 - Bar - </b>
<s:if test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Foo
+</s:if>
+<s:else>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+</s:else>
+
+<hr/>
+<b>25 - FooFooFoo</b>
+<s:if test="true">
+ Foo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>26 - FooMooMoo</b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
</s:if>
<s:elseif test="false">
- THIS SHOULD NOT APPEAR <br/>
+ Moo
</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>27 - Foo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>28 - MooFooFoo</b>
+<s:if test="false">
+ Foo
+</s:if>
<s:elseif test="true">
- 3]THIS SHOULD APPEAR <br/>
+ Moo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>29 - MooMooMoo</b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>30 - Moo - </b>
+<s:if test="false">
+ Foo
+</s:if>
<s:elseif test="true">
- THIS SHOULD NOT APPEAR <br/>
+ Moo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>31 - BarFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
</s:elseif>
<s:else>
- THIS SHOULD NOT APPEAR <br/>
+ Bar
+ <s:if test="true">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
</s:else>
-<!-- 4 -->
+<hr/>
+<b>32 - BarMooMoo - </b>
<s:if test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Foo
</s:if>
<s:elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</s:elseif>
<s:else>
- 4]THIS SHOULD APPEAR<br/>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="true">
+ MooMoo
+ </s:elseif>
</s:else>
-<!-- 5 -->
+<hr/>
+<b>33 - Bar - </b>
<s:if test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
+ <s:elseif test="false">
+ MooMoo
+ </s:elseif>
+</s:else>
+
+
+<hr/>
+<b>34 - FooFooFoo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="true">
+ FooFoo
+ </s:if>
</s:if>
<s:elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>35 - Foo - </b>
+<s:if test="true">
+ Foo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+</s:if>
<s:elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>36 - MooFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+ <s:if test="true">
+ FooFoo
+ </s:if>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>37 - Moo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="true">
+ Moo
+ <s:if test="false">
+ FooFoo
+ </s:if>
+</s:elseif>
+<s:else>
+ Bar
+</s:else>
+
+<hr/>
+<b>38 - BarFooFoo - </b>
+<s:if test="false">
+ Foo
+</s:if>
+<s:elseif test="false">
+ Moo
+</s:elseif>
+<s:else>
+ Bar
+ <s:if test="true">
+ FooFoo
+ </s:if>
+</s:else>
+
+<hr/>
+<b>39 - Bar - </b>
+<s:if test="false">
+ Foo
+</s:if>
<s:elseif test="false">
- THIS SHOULD NOT APPEAR<br/>
+ Moo
</s:elseif>
<s:else>
- 5]THIS SHOULD APPEAR<br/>
+ Bar
+ <s:if test="false">
+ FooFoo
+ </s:if>
</s:else>