[Seaside] VW version of Magritte/Seaside issue?

Richard E. Flower rickf at ca-flower.com
Sat Jul 26 21:17:28 UTC 2008


On Jul 26, 2008, at 9:28 AM, Lukas Renggli wrote:
>
> Actually this is a Seaside mistake ;-)
>
> #call: and #answer: should not be invoked while rendering, do that
> only within callbacks. If that's not desired you might want to use
> WATask.
>
> So change your code to something like this:
>
> renderContentOn: html
>    html anchor
>        callback: [ self openEditor ];
>        with: 'edit'
>
> openEditor
>    | result |
>    result := self call: (MSADBUser asComponent addValidatedForm;  
> yourself).
>    result inspect

Thanks Lukas.. I tried that and it worked great.. Thanks for getting  
me squared away!



More information about the seaside mailing list