[Seaside] Stupid anchor question

Leandro Pérez lperez at lifia.info.unlp.edu.ar
Wed Aug 15 18:22:31 UTC 2007




Philippe Marschall wrote:
> 
> Yes, you mix the callback and the rendering phase. In the callback
> phase your "actions" are executed, you can do no rendering there. Your
> html argument will be invalid.
> 
> The easiest way to make your example work is to create a new Component
> for 'this is something else' called SomethingElseComponent (or
> something else) the action triggered by the link would then do a
> #call: on this new component. This temporarily replaces MyComponent
> with SomethingElseComponent until you send #answer: in
> SomethingElseComponent.
> ...
> Cheers
> Philippe
> 
Thanks Philippe, I ended up doing what you suggested.
regards


-- 
View this message in context: http://www.nabble.com/Stupid-anchor-question-tf4267248.html#a12167386
Sent from the Squeak - Seaside mailing list archive at Nabble.com.



More information about the seaside mailing list