You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/02/27 13:35:24 UTC

[Flow] How to know the called uri in flow?

Hi:

Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D

Best Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [Flow] How to know the called uri in flow?

Posted by Stephan Coboos <cr...@gmx.net>.
Antonio Gallardo wrote:

>Hi:
>
>Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D
>
>Best Regards,
>
>Antonio Gallardo
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>
<map:call function="foo">
   <map:parameter name="requestURI" value="{request:requestURI}"/>
</map:call>

and

cocoon.parameters["requestURI"]

Regards
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [Flow] How to know the called uri in flow?

Posted by Andreas Hartmann <an...@apache.org>.
Antonio Gallardo wrote:

> Hi:
> 
> Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D

AFAIK this is not possible. You can use a helper class
to get the request object from the FOM_Cocoon object
and ask it for its URL. But this is not enabled in
FOM intentionally.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org