[Seaside] Subcomponent not returning to called component

C. David Shaffer cdshaffer at acm.org
Thu Jul 29 17:54:04 CEST 2004


LK wrote:

> How do I get a component to return to whoever called it, when it 
> finishes?


The component should send #answer or #answer: (the former returns nil as 
the result of the original #call: while the later returns the specified 
value).

So, in your editor your submit callback could look something like:

PMLogAddItem>>submitPressed
    ...add item to DB...
    self answer

David



More information about the Seaside mailing list