[Seaside] Using a component both using WAComponent>>call: and using WAHtmlRenderer>>render:

Avi Bryant avi at beta4.com
Fri Nov 5 18:55:58 CET 2004


On Nov 5, 2004, at 6:44 PM, Yar Hwee Boon wrote:

> I have a component that was written to be invoked using 
> WAComponent>call:. Its a dialog with an OK/Save button that sends 
> #answer:. I'm trying to use it with WAHtmlRenderer>>render:. I've 
> figured that I can perhaps do a
>         myComponent onAnswer: [:v | "Retrieve the data in myComponent 
> and do processing"];
>
> I'm wondering if this is a proper way.. and if not, how I can 
> accomplish something similar? Thanks.

Yup, you've got the right idea.

Avi



More information about the Seaside mailing list