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                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to