cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Columbro" <>
Subject Re: Cform binding
Date Fri, 01 Dec 2006 17:30:32 GMT
Hi Raffaele,
IMHO you should be able to access the cocoon object model in the binding.
I'm sure that this is possible with a javascript binding more or less like:

<fb:javascript id="foo" path="@foo">

    var reqParam = cocoon.request.getParameter('foo');
    if(reqParam == 'myDesiredValue')


Not sure about JXPath but I suppose it should be possible in the exact same
way it is possible in the JXTemplate (not sure though, so better try it)
more or less like:

${cocoon.request.getParameter('foo') }

BTW, you may find this[1] useful to know which objects you can access and
how to instantiate them.



On 12/1/06, Merico Raffaele < > wrote:
> Dear Community
> I have a cform that binds with an XML document. In the fb file I would
> like
> to define an XPATH that contains values of given request parameters. Is
> there any possibility to access the request object with JXPath. I so, how
> does the syntax would look like.
> Many thanks in advance ... Raffaele
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Eng. Gabriele Columbro
Consultant at Sourcesense Italy
mobile: (0039)3201612846

yahoo: g.columbro
AIM:   gabrielecolumbro

"Keyboard not found.
Press F1 to continue"

View raw message