cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: [Q]getting values from action
Date Fri, 16 Aug 2002 12:28:17 GMT
Kenny Chow wrote:

>Hi all,
>    I am running in a difficulty where I can't get a
>value from an action. 'myAction' will define a key
>called 'myParam' and return its value via the Map
>object. Now myURL.xsp, in turn, tries to get the param
>from the sitemap (see below);

You did not tell how XSP gets this parameter. Also, see sitemap.log file 
('Current Sitemap Parameters'), chech that 'myParam' shows up in there.


> the param contains null.
>    I have tried creating a session in the action,
>still null that the xsp gets. Any suggestion?
><map:match pattern="myURL">
> <map:act type="myAction">
>  <map:parameter name="param" value="value" />  
>   <map:generate src="xsp/myURL.xsp"
>    <map:parameter name="myParam" value="{myParam}"/>
>   </map:generate>
>   <map:serialize/>
>  </map:act>

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message