[Seaside] Seaside Components: Parent / Children

Avi Bryant avi.bryant at gmail.com
Mon May 15 15:42:15 UTC 2006


On May 15, 2006, at 5:39 PM, Sébastien Julliand wrote:

> 2006/5/15, Avi Bryant <avi.bryant at gmail.com>:
>>
>> On May 15, 2006, at 5:01 PM, Sébastien Julliand wrote:
>>
>> > Hi everyone!
>> >
>> > I'm one of S. Ducasse's student and I'm working on a Seaside  
>> project,
>> > an online Scrabble.
>> >
>> > I'd like to know if there is a way, when you are using a  
>> WAComponent
>> > called by a WATask, to retrieve the caller?
>> > In other words: is a WAComponent able to identify who is calling  
>> it?
>>
>> So, obvious first question: why do you want to know?
>>
>> Avi_______________________________________________
>
> Well, I need my WAComponent to display differents things based on wich
> WATask is calling it

So why not have the different WATasks configure the WAComponent they  
are creating slightly differently?
I'm generally quite suspicious of code that knows too much implicit  
info about the context in which it is used.

Avi


More information about the Seaside mailing list