Passing parameters to action-set
Hi All, Apologies if this has been answered before, I can't find it in the archives... I am trying to pass a parameter to an action set, but I cannot seem to get this to work. Should this be possible at all? Here are some snippets from my sitemap: [...] map:action-set name=nodePage map:act type=navigation map:parameter name=action value=set / map:parameter name=nextPage value={process} / map:parameter name=onError value={process} / /map:act /map:action-set [...] map:match pattern=home** map:act type=security map:parameter name=action value=isLoggedOn / map:act set=nodePage map:parameter name=process value=home / /map:act map:generate type=file src=docs/home.xml / map:call resource=XHTML / /map:act /map:match [...] Thanks in advance, Robin Wyles - 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]
RE: Passing parameters to action-set
Try {../process} instead of {process} -Original Message- From: Robin Wyles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:04 AM To: [EMAIL PROTECTED] Subject: Passing parameters to action-set Hi All, Apologies if this has been answered before, I can't find it in the archives... I am trying to pass a parameter to an action set, but I cannot seem to get this to work. Should this be possible at all? Here are some snippets from my sitemap: [...] map:action-set name=nodePage map:act type=navigation map:parameter name=action value=set / map:parameter name=nextPage value={process} / map:parameter name=onError value={process} / /map:act /map:action-set [...] map:match pattern=home** map:act type=security map:parameter name=action value=isLoggedOn / map:act set=nodePage map:parameter name=process value=home / /map:act map:generate type=file src=docs/home.xml / map:call resource=XHTML / /map:act /map:match [...] Thanks in advance, Robin Wyles - 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]
Re: Passing parameters to action-set
Ryan Agler wrote: Try {../process} instead of {process} or better if you use 2.1 try with the input-modules (check in the cocoon.xconf which one is set): {request:process} {attribute:process} -Original Message- From: Robin Wyles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:04 AM To: [EMAIL PROTECTED] Subject: Passing parameters to action-set Hi All, Apologies if this has been answered before, I can't find it in the archives... I am trying to pass a parameter to an action set, but I cannot seem to get this to work. Should this be possible at all? Here are some snippets from my sitemap: [...] map:action-set name=nodePage map:act type=navigation map:parameter name=action value=set / map:parameter name=nextPage value={process} / map:parameter name=onError value={process} / /map:act /map:action-set [...] map:match pattern=home** map:act type=security map:parameter name=action value=isLoggedOn / map:act set=nodePage map:parameter name=process value=home / /map:act map:generate type=file src=docs/home.xml / map:call resource=XHTML / /map:act /map:match [...] Thanks in advance, Robin Wyles - 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] - 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]