Hi joose.
Joose Vettenranta Escribio :-)
> I tried to pass information from one point to another with
>
> <xsp-request:set-attribute name="m_id"><esql:get-string
> column="id"></xsp:request-set-attribute>
I think you can not use this for your intentions.
better create a input hidden and assign the value what you want send
to the sitemap.
Something like this:
<input name="name" type="hidden">
<xsp:attribute name="value"><esql:get-string
column="id"></xsp:attribute>
</input>
later in the sitemap you can use {request-param:m_id} for access to
the value.
Cheers,
Carlos Ch�vez.
>
> sitemap.xmap:
>
> <map:match pattern="info-*.html">
> <map:aggregate element="page">
> <map:part src="cocoon:/internal/info-{1}.xml" element="content"/>
> <map:part src="cocoon:/internal/list-{request-attr:m_id}.xml" />
> </map:aggregate>
> <map:serialize />
> </map:match>
>
> that info-{1}.xml is a XSP with the line I mentioned.
>
> request-attr:m_id always returns nothing. (also tried: {chain:m_id} =>
> no go)
>
> It should return the id of what I save there... Why it is not returning
> it?
>
> cocoon 2.1.3
>
> - Joose
>
> --
> "Always remember that you are unique, just like everyone else!"
> * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Carlos Ch�vez
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]