[Seaside] Re: Don't understand call: answer:

Bany, Michel mbany at cincom.com
Wed Sep 8 15:06:25 CEST 2004


> Thanks, it helps me a lot. So, if I understand well :
> The method "call:" calls "renderContentOn" on the object passed as 
> argument (WAStoreAddressEditor here). Then, the "rows" method 
> is called 
> which have to specify what fields the object want to be 
> printed in the 
> form. Finaly, a test is performed in order to know if the object 
> responds to the method "render"NameOfSymbol"On". If true, 
> this method is 
> called, else a default method is.
> 
> Is that true ?
> 

Yes all this is true.
As a matter of fact when a component sends #call: to itself,
it becomes invisible and it is replaced in the browser by
the component passed as the argument, until #answer or 
#answer: is sent. Then it becomes visible again.

Bon courage,
Michel.









-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20040908/e68d53a4/attachment.htm


More information about the Seaside mailing list