[Seaside] AJAX - form

Lukas Renggli renggli at gmail.com
Tue Jan 8 06:57:28 UTC 2008


> html anchor onClick: (html updater id: 'login'; callback: [:r | self
> validateLogin. self renderContentOn: r| ]); with: 'login'.
>
> but i have not set self email and pass because i think seaside set my
> variables after form submit. My question is simple how get value of
> textInput and passwordInput when i want use anchor and ajax. And second
> isn't there better way than anchor?

You have to tell your updater to trigger the form using #triggerForm:

Lukas

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


More information about the seaside mailing list