Kenny Chow wrote: >I use parameters.getParameter("myParam") in the xsp. >'myParam' doesn't show up in sitemap.log. > >
May be something is wrong with the action. Vadim >Thanks KOZLOV. > >{../myParam} unfortunately doesn't work either. > > >--- Vadim Gritsenko <[EMAIL PROTECTED]> >wrote: > > >>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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>