cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Getting parameters from the sitemap via JX Template
Date Mon, 06 Sep 2004 11:32:53 GMT
In the sitemap, I have:

    <map:match pattern="view2/*">
      <map:generate src="docs/view.jx" type="jx">
       <map:parameter name="fileID" value="{1}"/>    
      </map:generate>      
      <map:serialize type="html"/>
    </map:match> 

When I call this, via, say   "view2/test"

In the view.jx template page:

...
<p> The value the current request is
${cocoon.request.getParameter("fileID")}</p>
<p> The value of the current request is
${cocoon.parameters.fileID}</p>
...

The results from the above are
(null)
0

How do I get value of the "fileID"  in the template page??

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message