cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: [Q]getting values from action
Date Fri, 16 Aug 2002 12:29:26 GMT
Hi,
try {../myParam}.

Roman

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); 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>
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>
> ---------------------------------------------------------------------
> 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>


---------------------------------------------------------------------
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