[Seaside] Best practice: what actions in form callback: vs. in onChange: | onClick: | on...

Lukas Renggli renggli at gmail.com
Tue Jan 15 07:37:30 UTC 2008


> As good design, what kinds of actions should be done in <A> vs. <B> below?
> e.g.
>     html select
>         ...
>         callback: [:val |  <A> ]
>         onChange: (html updater
>             ...
>             callback:[ <B> ])

I guess that depends on your actual problem.

Value callbacks like <A> mostly just call a write accessor to assign the value.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list