jstrachan 01/08/16 06:28:57
Modified: xtags/examples/web hello_rss.jsp
xtags/examples/web/test test_if.jsp
Log:
Updated test case
Revision Changes Path
1.6 +1 -1 jakarta-taglibs/xtags/examples/web/hello_rss.jsp
Index: hello_rss.jsp
===================================================================
RCS file: /home/cvs/jakarta-taglibs/xtags/examples/web/hello_rss.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- hello_rss.jsp 2001/07/24 13:44:20 1.5
+++ hello_rss.jsp 2001/08/16 13:28:57 1.6
@@ -12,7 +12,7 @@
<h1>Hello RSS Demo</h1>
<ul>
-<xtags:parse url="http://p.moreover.com/cgi-local/page?c=Java%20news&o=rss"/>
+<xtags:parse url="http://www.moreover.com/cgi-local/page?o=rss&c=Java%20news"/>
<xtags:forEach select="//item">
<li>
<a href="<xtags:valueOf select="link"/>">
1.3 +23 -0 jakarta-taglibs/xtags/examples/web/test/test_if.jsp
Index: test_if.jsp
===================================================================
RCS file: /home/cvs/jakarta-taglibs/xtags/examples/web/test/test_if.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- test_if.jsp 2001/08/10 18:00:42 1.2
+++ test_if.jsp 2001/08/16 13:28:57 1.3
@@ -44,6 +44,29 @@
Colour is red!
</xtags:if>
+<hr/>
+
+<xtags:if test="foo">
+I am a foo!
+</xtags:if>
+
+<hr/>
+
+<xtags:if test=".[type]">
+I have a child type!
+</xtags:if>
+
+<hr/>
+
+<xtags:choose>
+ <xtags:when test="foo">
+ When I'm a foo
+ </xtags:when>
+ <xtags:otherwise>
+ Oh dear, I'm not a foo
+ </xtags:otherwise>
+</xtags:choose>
+
</xtags:forEach>
<hr/>