Author: hermanns Date: Wed Dec 6 14:19:12 2006 New Revision: 483262 URL: http://svn.apache.org/viewvc?view=rev&rev=483262 Log: Showcase Examples Broken o optimized output for if tga samples
Issue Number: WW-1538 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?view=diff&rev=483262&r1=483261&r2=483262 ============================================================================== --- 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 Dec 6 14:19:12 2006 @@ -16,7 +16,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>2 - Bar -</b> <@s.if test="false"> Foo @@ -24,7 +24,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>3 - FooFooFoo - </b> <@s.if test="true"> Foo @@ -38,7 +38,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>4 - FooBarBar - </b> <@s.if test="true"> Foo @@ -49,7 +49,7 @@ BarBar </@s.else> </@s.if> -<hr/> +<br/> <b>5 - BarFooFoo - </b> <@s.if test="false"> Foo @@ -63,7 +63,7 @@ BarBar </@s.else> </@s.else> -<hr/> +<br/> <b>6 - BarBarBar - </b> <@s.if test="false"> Foo @@ -77,7 +77,7 @@ BarBar </@s.else> </@s.else> -<hr/> +<br/> <b>7 - Foo - </b> <@s.if test="true"> Foo @@ -88,7 +88,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>8 - Moo - </b> <@s.if test="false"> Foo @@ -99,7 +99,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>9 - Bar - </b> <@s.if test="false"> Foo @@ -110,7 +110,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>10 - FooFooFoo - </b> <@s.if test="true"> Foo @@ -130,7 +130,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>11 - FooMooMoo - </b> <@s.if test="true"> Foo @@ -150,7 +150,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>12 - FooBarBar - </b> <@s.if test="true"> Foo @@ -170,7 +170,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>13 - MooFooFoo - </b> <@s.if test="false"> Foo @@ -190,7 +190,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>14 - MooMooMoo - </b> <@s.if test="false"> Foo @@ -210,7 +210,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>15 - MooBarBar - </b> <@s.if test="false"> Foo @@ -230,7 +230,7 @@ <@s.else> Bar </@s.else> -<hr/> +<br/> <b>16 - BarFooFoo - </b> <@s.if test="false"> Foo @@ -250,7 +250,7 @@ BarBar </@s.else> </@s.else> -<hr/> +<br/> <b>17 - BarMooMoo - </b> <@s.if test="false"> Foo @@ -270,7 +270,7 @@ BarBar </@s.else> </@s.else> -<hr/> +<br/> <b>18 - BarBarBar - </b> <@s.if test="false"> Foo @@ -291,19 +291,19 @@ </@s.else> </@s.else> -<hr/> +<br/> <b>19 - Foo - </b> <@s.if test="true"> Foo </@s.if> -<hr/> +<br/> <b>20 - ** should not display anything ** - </b> <@s.if test="false"> Foo </@s.if> -<hr/> +<br/> <b>21 FooFooFoo - </b> <@s.if test="true"> Foo @@ -315,7 +315,7 @@ Bar </@s.else> -<hr/> +<br/> <b>22 - Foo - </b> <@s.if test="true"> Foo @@ -327,7 +327,7 @@ Bar </@s.else> -<hr/> +<br/> <b>23 - BarFooFoo - </b> <@s.if test="false"> Foo @@ -339,7 +339,7 @@ </@s.if> </@s.else> -<hr/> +<br/> <b>24 - Bar - </b> <@s.if test="false"> Foo @@ -351,7 +351,7 @@ </@s.if> </@s.else> -<hr/> +<br/> <b>25 - FooFooFoo</b> <@s.if test="true"> Foo @@ -369,7 +369,7 @@ Bar </@s.else> -<hr/> +<br/> <b>26 - FooMooMoo</b> <@s.if test="true"> Foo @@ -509,7 +509,7 @@ </@s.elseif> </@s.else> -<hr/> +<br/> <b>34 - FooFooFoo - </b> <@s.if test="true"> Foo @@ -524,7 +524,7 @@ Bar </@s.else> -<hr/> +<br/> <b>35 - Foo - </b> <@s.if test="true"> Foo @@ -539,7 +539,7 @@ Bar </@s.else> -<hr/> +<br/> <b>36 - MooFooFoo - </b> <@s.if test="false"> Foo @@ -554,7 +554,7 @@ Bar </@s.else> -<hr/> +<br/> <b>37 - Moo - </b> <@s.if test="false"> Foo @@ -569,7 +569,7 @@ Bar </@s.else> -<hr/> +<br/> <b>38 - BarFooFoo - </b> <@s.if test="false"> Foo @@ -584,7 +584,7 @@ </@s.if> </@s.else> -<hr/> +<br/> <b>39 - Bar - </b> <@s.if test="false"> Foo 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?view=diff&rev=483262&r1=483261&r2=483262 ============================================================================== --- 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 Dec 6 14:19:12 2006 @@ -23,7 +23,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>2 - Bar -</b> <s:if test="false"> Foo @@ -31,7 +31,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>3 - FooFooFoo - </b> <s:if test="true"> Foo @@ -45,7 +45,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>4 - FooBarBar - </b> <s:if test="true"> Foo @@ -56,7 +56,7 @@ BarBar </s:else> </s:if> -<hr/> +<br/> <b>5 - BarFooFoo - </b> <s:if test="false"> Foo @@ -70,7 +70,7 @@ BarBar </s:else> </s:else> -<hr/> +<br/> <b>6 - BarBarBar - </b> <s:if test="false"> Foo @@ -84,7 +84,7 @@ BarBar </s:else> </s:else> -<hr/> +<br/> <b>7 - Foo - </b> <s:if test="true"> Foo @@ -95,7 +95,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>8 - Moo - </b> <s:if test="false"> Foo @@ -106,7 +106,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>9 - Bar - </b> <s:if test="false"> Foo @@ -117,7 +117,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>10 - FooFooFoo - </b> <s:if test="true"> Foo @@ -137,7 +137,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>11 - FooMooMoo - </b> <s:if test="true"> Foo @@ -157,7 +157,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>12 - FooBarBar - </b> <s:if test="true"> Foo @@ -177,7 +177,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>13 - MooFooFoo - </b> <s:if test="false"> Foo @@ -197,7 +197,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>14 - MooMooMoo - </b> <s:if test="false"> Foo @@ -217,7 +217,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>15 - MooBarBar - </b> <s:if test="false"> Foo @@ -237,7 +237,7 @@ <s:else> Bar </s:else> -<hr/> +<br/> <b>16 - BarFooFoo - </b> <s:if test="false"> Foo @@ -257,7 +257,7 @@ BarBar </s:else> </s:else> -<hr/> +<br/> <b>17 - BarMooMoo - </b> <s:if test="false"> Foo @@ -277,7 +277,7 @@ BarBar </s:else> </s:else> -<hr/> +<br/> <b>18 - BarBarBar - </b> <s:if test="false"> Foo @@ -298,19 +298,19 @@ </s:else> </s:else> -<hr/> +<br/> <b>19 - Foo - </b> <s:if test="true"> Foo </s:if> -<hr/> +<br/> <b>20 - ** should not display anything ** - </b> <s:if test="false"> Foo </s:if> -<hr/> +<br/> <b>21 FooFooFoo - </b> <s:if test="true"> Foo @@ -322,7 +322,7 @@ Bar </s:else> -<hr/> +<br/> <b>22 - Foo - </b> <s:if test="true"> Foo @@ -334,7 +334,7 @@ Bar </s:else> -<hr/> +<br/> <b>23 - BarFooFoo - </b> <s:if test="false"> Foo @@ -346,7 +346,7 @@ </s:if> </s:else> -<hr/> +<br/> <b>24 - Bar - </b> <s:if test="false"> Foo @@ -358,7 +358,7 @@ </s:if> </s:else> -<hr/> +<br/> <b>25 - FooFooFoo</b> <s:if test="true"> Foo @@ -376,7 +376,7 @@ Bar </s:else> -<hr/> +<br/> <b>26 - FooMooMoo</b> <s:if test="true"> Foo @@ -394,7 +394,7 @@ Bar </s:else> -<hr/> +<br/> <b>27 - Foo - </b> <s:if test="true"> Foo @@ -412,7 +412,7 @@ Bar </s:else> -<hr/> +<br/> <b>28 - MooFooFoo</b> <s:if test="false"> Foo @@ -430,7 +430,7 @@ Bar </s:else> -<hr/> +<br/> <b>29 - MooMooMoo</b> <s:if test="false"> Foo @@ -448,7 +448,7 @@ Bar </s:else> -<hr/> +<br/> <b>30 - Moo - </b> <s:if test="false"> Foo @@ -466,7 +466,7 @@ Bar </s:else> -<hr/> +<br/> <b>31 - BarFooFoo - </b> <s:if test="false"> Foo @@ -484,7 +484,7 @@ </s:elseif> </s:else> -<hr/> +<br/> <b>32 - BarMooMoo - </b> <s:if test="false"> Foo @@ -502,7 +502,7 @@ </s:elseif> </s:else> -<hr/> +<br/> <b>33 - Bar - </b> <s:if test="false"> Foo @@ -521,7 +521,7 @@ </s:else> -<hr/> +<br/> <b>34 - FooFooFoo - </b> <s:if test="true"> Foo @@ -536,7 +536,7 @@ Bar </s:else> -<hr/> +<br/> <b>35 - Foo - </b> <s:if test="true"> Foo @@ -551,7 +551,7 @@ Bar </s:else> -<hr/> +<br/> <b>36 - MooFooFoo - </b> <s:if test="false"> Foo @@ -566,7 +566,7 @@ Bar </s:else> -<hr/> +<br/> <b>37 - Moo - </b> <s:if test="false"> Foo @@ -581,7 +581,7 @@ Bar </s:else> -<hr/> +<br/> <b>38 - BarFooFoo - </b> <s:if test="false"> Foo @@ -596,7 +596,7 @@ </s:if> </s:else> -<hr/> +<br/> <b>39 - Bar - </b> <s:if test="false"> Foo