[Seaside] call: and answer: failing

Squeaker squeakman at gmail.com
Sat Feb 9 23:20:22 UTC 2008


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?


More information about the seaside mailing list