bdelacretaz 2003/05/07 02:46:07
Modified: src/blocks/qdox/conf qdox.xsamples src/blocks/qdox/samples samples.xml sitemap.xmap Log: qdox samples page did not look right + back link was missing Revision Changes Path 1.2 +1 -1 cocoon-2.1/src/blocks/qdox/conf/qdox.xsamples Index: qdox.xsamples =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/qdox/conf/qdox.xsamples,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- qdox.xsamples 6 May 2003 08:49:59 -0000 1.1 +++ qdox.xsamples 7 May 2003 09:46:07 -0000 1.2 @@ -2,6 +2,6 @@ <xsamples xpath="/samples" unless="[EMAIL PROTECTED]'QDox']"> <group name="QDox"> - <sample name="Samples" href="qdox/samples">Javadoc-like parsing of Java code using QDox.</sample> + <sample name="Samples" href="qdox/">Javadoc-like parsing of Java code using QDox.</sample> </group> </xsamples> 1.2 +5 -1 cocoon-2.1/src/blocks/qdox/samples/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/qdox/samples/samples.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- samples.xml 6 May 2003 08:50:00 -0000 1.1 +++ samples.xml 7 May 2003 09:46:07 -0000 1.2 @@ -3,6 +3,10 @@ <!-- CVS: $Id$ --> <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="QDoxSource"> + <group name="Main examples page."> + <sample name="Back" href="..">to Cocoon examples main page</sample> + </group> + <group name="Class: java.util.HashMap"> <sample name="HTML" href="javadoc/java.util.HashMap"> Shows the Javadoc page of the class <code>java.util.HashMap</code> 1.2 +5 -14 cocoon-2.1/src/blocks/qdox/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/qdox/samples/sitemap.xmap,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sitemap.xmap 6 May 2003 08:50:00 -0000 1.1 +++ sitemap.xmap 7 May 2003 09:46:07 -0000 1.2 @@ -1,17 +1,6 @@ <?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> - <!-- =========================== Components ================================ --> - - <map:components> - <map:generators default="file" /> - <map:transformers default="xslt" /> - <map:readers default="resource" /> - <map:serializers default="html" /> - <map:matchers default="wildcard" /> - <map:selectors default="browser" /> - </map:components> - <!-- =========================== Pipelines ================================= --> @@ -19,12 +8,14 @@ <map:pipeline> <map:match pattern=""> - <map:redirect-to uri="samples"/> + <map:redirect-to uri="welcome"/> </map:match> - <map:match pattern="samples"> + <map:match pattern="welcome"> <map:generate src="samples.xml"/> - <map:transform type="xalan" src="context://samples/common/style/xsl/html/simple-samples2html.xsl"/> + <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl"> + <map:parameter name="contextPath" value="{request:contextPath}"/> + </map:transform> <map:serialize/> </map:match>