cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarry Liu <>
Subject retrieve value in sitemap which was passed from java fie
Date Fri, 08 Jul 2005 15:45:38 GMT

I am using cocoon control flow with java. I add an variable named as
stepIndex with value 10 in a Hashtable ht,  and using sendPageAndWait.
 How can I retrieve the value of stepIndex in sitemap.xmap? I tried to
use request-param, but doesn't work. Any idea?



Here is part of the code:

in java file:
               String uri = "selectstep" ;	
		 ht.put("stepIndex", new Integer(10));	 // ht is a Hashtable
		 sendPageAndWait(uri, ht);

in sitemap.xmap:

  <map:match pattern="selectstep">
         <map:generate type="jx" src="questions.xml"/>
         <map:transform src="xslt/selectstep.xsl">
            <map:parameter name="contextPath"
            <!---map:parameter name="stepIndex"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message