Quoting Michael Homeijer <[EMAIL PROTECTED]>:

> In an action i return a HashMap to the sitemap, one of the elements in
> this
> HashMap is a HashMap.
> My question is, how do I get this second HashMap in an xsp page.
> 
> From the documentation of the Parameters object, I read that I can only
> get
> string parameters from it.
> How can I pass complex objects from an action to an xsp page?

Put those object into the request like request.setAttribute("name", map) and 
read them in your XSP page like request.getAttribute("name");

Giacomo

> 
> TIA,
> Michael
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to