cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
Subject Re: Woody binding: save/load-form not triggered
Date Thu, 29 Jul 2004 09:20:43 GMT
On Thu, 2004-07-29 at 10:37, Gunter D'Hondt wrote:
> I've removed the value binding and just put a javascript-binding
> inside my repeater but still no action is triggered (only the other
> value bindings are logging). I've got other bindings where the
> javascript inside the value binding does work; like this one:
>   <bnd:value id="name" path="customername">
>        <bnd:on-update>
>               <bnd:javascript id="name" path="..">
>                 <bnd:load-form/>
>                 <bnd:save-form>
>                   var wsfield = jxpathContext.getPointer('country');
>                   wsfield.setValue("159");
>                 </bnd:save-form>
>               </bnd:javascript>
>        </bnd:on-update>
>   </bnd:value>
> But that only works for jxpath's not equal to the one of the value
> binding; so I cannot change the "customername" but only the "country".
> Is the javascript-binding recently added coz I'm working on a cvshead
> from 12/May ?

No, it's been there for a long time.

I recommend switching to CForms though (it's just some XML namespace and
java package names that need updating, see info on the wiki).

Bruno Dumon                   
Outerthought - Open Source, Java & XML Competence Support Center                

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message