[Seaside] WACurrentSession value is nil within a forked block
leandromperez at gmail.com
Mon Nov 5 14:56:31 UTC 2007
I have a simple seaside SUComponent subclass called ForkComponent:
ForkComponent class>> canBeRoot
ForkComponent >> renderContentOn:html
text: 'test fork';
onClick: (html evaluator callback:
self session. " the session is NOT NIL here"
[self session "The session IS NIL here!!"] fork
When the callback is processed, I can access the session by sending #session
to self (the component). The problem I have is that the session is always
nil within the forked block.
Is this behavior correct?
should the session be nil inside a forked block?
if so, why?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside