[Seaside] "Login" page

Andrius Paulavicius apaulavicius at gmail.com
Sun Jul 29 18:15:58 UTC 2007


Add an instance variable called onSave and its accesor methods to Login
component. When you create you're login component pass it a block:
    login onSave: [self call: GSServiceCentre new].
and in Login components save method evaluate that block:
    onSave value.


> "Pass a callback block [self call: GSServiceCentre new] from you main to 
> login component, and evaluate it with its method "value" when you want it 
> executed."
> 
> How do you do that? I'm not entirely familiar with Smalltalk syntax.
> 
> Thanks,
> Richard 


More information about the Seaside mailing list