dion 2004/02/24 21:09:58 Modified: jelly/src/test/org/apache/commons/jelly/core testNewTag.jelly b.jelly c.jelly testSwitchTag.jelly testChooseTag.jelly testInvokeTag.jelly a.jelly testInvokeStaticTag.jelly Log: ASL v2 Revision Changes Path 1.3 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testNewTag.jelly Index: testNewTag.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testNewTag.jelly,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- testNewTag.jelly 15 Jan 2003 12:23:19 -0000 1.2 +++ testNewTag.jelly 25 Feb 2004 05:09:57 -0000 1.3 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:if test="${test.simpleNew}"> <j:new var="foo" className="org.apache.commons.jelly.core.Customer"/> 1.2 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/b.jelly Index: b.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/b.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- b.jelly 16 Oct 2002 22:30:14 -0000 1.1 +++ b.jelly 25 Feb 2004 05:09:57 -0000 1.2 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:set var="b" value="true"/> 1.2 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/c.jelly Index: c.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/c.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- c.jelly 16 Oct 2002 22:30:14 -0000 1.1 +++ c.jelly 25 Feb 2004 05:09:57 -0000 1.2 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:set var="c" value="true"/> 1.4 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testSwitchTag.jelly Index: testSwitchTag.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testSwitchTag.jelly,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- testSwitchTag.jelly 22 Oct 2002 16:15:49 -0000 1.3 +++ testSwitchTag.jelly 25 Feb 2004 05:09:57 -0000 1.4 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:switch on="${switch.on.a}"> <j:case value="one" fallThru="true"> 1.2 +42 -26 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testChooseTag.jelly Index: testChooseTag.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testChooseTag.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- testChooseTag.jelly 23 Jun 2003 02:32:10 -0000 1.1 +++ testChooseTag.jelly 25 Feb 2004 05:09:57 -0000 1.2 @@ -1,27 +1,43 @@ -<j:jelly xmlns:j="jelly:core">
- <j:set var="result.true"> - <j:choose> - <j:when test="${1 == 1}"> - A - </j:when> - <j:otherwise> - B - </j:otherwise> - C - </j:choose> - </j:set> - - <j:set var="result.false"> - <j:choose> - <j:when test="${0 == 1}"> - A - </j:when> - <j:otherwise> - B - </j:otherwise> - C - </j:choose> - </j:set> - - +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<j:jelly xmlns:j="jelly:core"> + <j:set var="result.true"> + <j:choose> + <j:when test="${1 == 1}"> + A + </j:when> + <j:otherwise> + B + </j:otherwise> + C + </j:choose> + </j:set> + + <j:set var="result.false"> + <j:choose> + <j:when test="${0 == 1}"> + A + </j:when> + <j:otherwise> + B + </j:otherwise> + C + </j:choose> + </j:set> + + </j:jelly> 1.3 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testInvokeTag.jelly Index: testInvokeTag.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testInvokeTag.jelly,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- testInvokeTag.jelly 15 Jan 2003 12:23:20 -0000 1.2 +++ testInvokeTag.jelly 25 Feb 2004 05:09:57 -0000 1.3 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:if test="${test.simpleInvoke}"> 1.2 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/a.jelly Index: a.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/a.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- a.jelly 16 Oct 2002 22:30:14 -0000 1.1 +++ a.jelly 25 Feb 2004 05:09:57 -0000 1.2 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:set var="a" value="true"/> 1.2 +16 -0 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testInvokeStaticTag.jelly Index: testInvokeStaticTag.jelly =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testInvokeStaticTag.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- testInvokeStaticTag.jelly 25 Feb 2003 23:26:15 -0000 1.1 +++ testInvokeStaticTag.jelly 25 Feb 2004 05:09:57 -0000 1.2 @@ -1,3 +1,19 @@ +<!-- + Copyright 2002,2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + <j:jelly xmlns:j="jelly:core"> <j:if test="${test.simpleSystemInvoke}"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]