[Seaside] Re: call: and answer: failing

Squeaker squeakman at gmail.com
Sun Feb 10 00:14:18 UTC 2008


Squeaker wrote:
> Greetings,
> 
> I have two subclasses of SUComponents namely, VeForm and VePage.  A 
> VePage contains aVeForm.
> 
> The VeForm is a simple form with a Submit and a Cancel button. It does 
> an answer: when the Submit or Cancel button is hit.
> 
> The following code works perfectly and I hit the breakpoint:
> 
>      response := self call: aVeForm.
>      response halt.
> 
> But if I do the following setup and then call of aVePage
> 
>     aVePage := VePage new.
>     aVePage add: aVeForm.      "adds aVeForm as a child of aVePage"
>     response := self call: aVePage.
>     response halt.
> 
> This does not return when the user hits the Submit button on the form. 
> It just re-displays aVePage.
> 
> Can you tell me what I am doing wrong?
> 
> Thanks,
> Frank

Humm... I think I figured this out, I found the answer here: 
http://www.shaffer-consulting.com/david/Seaside/Embedding/index.html

I should have RTFM



More information about the seaside mailing list