OK thanks request-attr is works,
<map:redirect-to
uri="account.html?account={request-attr:my_request_attribute}"/>
Thanks,
Hill
--- Upayavira <[EMAIL PROTECTED]> wrote:
> Do you mean request parameters? There are three
> input modules that allow access
> to request details, request, request-param, and
> request-attr.
>
> I've only used request param, with which you can get
> get/post parameters from the
> request, e.g: http://server/cocoon/page?name=peter
>
> You can use 'peter' in your sitemap like this:
>
> <map:transform src="xsl/foo.xsl">
> <map:parameter name="name"
> value="{request-param:name}"/>
> </map:transform>
>
> So, Peter will be passed to the transform as a
> parameter.
>
> Is this what you're after?
>
> Upayavira
>
> On 17 Jun 2003 at 3:36, Hill Karimov wrote:
>
> > Hi all,
> >
> > Is possible to get request attribute in sitemap?
> > some like to get request parameter:
> >
> > <map:match pattern="delete_account.html">
> > <map:act set="process">
> > <map:parameter name="descriptor"
> > value="descriptors/form_account.xml"/>
> > </map:act>
> >
> > <!-- ??? some like it -->
> > <map:act type="request">
> > <map:parameter name="attributes"
> > value="true"/>
> > <map:redirect-to
> >
> uri="account.html?account={my_request_attribute}"/>
> > </map:act>
> >
> > <!--
> > <map:act type="request">
> > <map:parameter name="parameters"
> > value="true"/>
> > <map:redirect-to
> >
> uri="account.html?account={my_request_parameter}"/>
> > </map:act>
> > -->
> > </map:match>
> >
> > any advice, helps,
> >
> > Thanks,
> > Hill
> > ps: i use 2.1m3-dev
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED] For
> > additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]