[Seaside] Re: Updating multiple elements when a multi-select changes

Paul Price paul at unitmath.com
Sun Mar 16 15:11:19 UTC 2008


Paul Price <paul <at> unitmath.com> writes
> 
> Lukas Renggli <renggli <at> gmail.com> writes:
> > 
> > >   onClick: (html evaluator
> > >     callback: [:script |
> > >       script canvas updater triggerForm: formId.
> > >       script element id: modelId;
> > >         render: 'test ' , digitsEx.
> > >    script element id: 'Show Exp Model';
> > >      render: 'test # changed digits' ,
> > >     sciNotEx])
> > 
> > Why do you have a special updater inside the evaluator? 
> 
> Because it is the only way I have seen to trigger a from.
> 

The following works.  

html evaluator triggerForm: formId;
callback: [:script | 
script element id: modelId;
 render: 'test ' , digitsEx.
script element id: 'Show Exp Model';
render: 'test # changed digits' , sciNotEx]

Thanks for your time Paul







More information about the seaside mailing list