cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
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.

Vadim


> 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"
>type="serverpages">         
>    <map:parameter name="myParam" value="{myParam}"/>
>   </map:generate>
>   <map:serialize/>
>  </map:act>
></map:match> 
>  
>




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

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


Mime
View raw message