You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/08/30 03:12:25 UTC

cvs commit: jakarta-commons/jelly/src/test/org/apache/commons/jelly/core testUseBeanTag.jelly

dion        2004/08/29 18:12:25

  Modified:    jelly/src/test/org/apache/commons/jelly/core
                        testUseBeanTag.jelly
  Log:
  JELLY-120.
  
  Revision  Changes    Path
  1.3       +8 -1      jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testUseBeanTag.jelly
  
  Index: testUseBeanTag.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/testUseBeanTag.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- testUseBeanTag.jelly	30 Aug 2004 00:41:46 -0000	1.2
  +++ testUseBeanTag.jelly	30 Aug 2004 01:12:25 -0000	1.3
  @@ -14,11 +14,18 @@
     limitations under the License.
   -->
   
  -<j:jelly xmlns:j="jelly:core">
  +<j:jelly xmlns:j="jelly:core" xmlns:jx="jelly:org.apache.commons.jelly.core.extension.CoreExtensionTagLibrary">
       <j:if test="${test.simple}">
           <j:useBean var="foo" 
             class="org.apache.commons.jelly.core.Customer"
             name="testing"
             city="sydney"/>
  +    </j:if>
  +    <j:if test="${test.extension}">
  +        <jx:useBeanX var="foo" 
  +          class="org.apache.commons.jelly.core.Customer"
  +          name="testing"
  +          city="sydney"/>
  +        Name is ${foo.name}
       </j:if>
   </j:jelly>
  
  
  

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