[Seaside] WAComponent callbacks, continuations and #children

John Thornborrow john at pinesoft.co.uk
Thu Jun 7 13:56:40 UTC 2007


Oh, and just realised I've not informed which version of seaside I
have.. 2.7.

Thanks.
John
www.pinesoft.co.uk

John Thornborrow wrote:
> Also note that the same occurs if I remove the registry completely and
> use just instance variables of the root object.
>
> Thanks again,
>
> John
> www.pinesoft.co.uk
>
> John Thornborrow wrote:
>   
>> Attached is an example (MyStuff.st - fileout format)
>>
>> In order to reproduce the callback error..
>>
>> 1. Open the page
>> 2. Click the "A Link" url in the top left.
>> 3. Click your back button.
>> 4. Click the "link" in the pink box.
>>
>> Many thanks in advance for any assistance.
>>
>> John.
>> www.pinesoft.co.uk
>>
>>
>>
>> John Thornborrow wrote:
>>   
>>     
>>> Lukas Renggli wrote:
>>>   
>>>     
>>>       
>>>>> Other issue (1. on the list) is the maintenance of the instances, I'm
>>>>> not happy with using singletons as this could (and probably will)
>>>>> generate cross-session changes.
>>>>>       
>>>>>         
>>>>>           
>>>> There is something fundamentally wrong with your code. Using
>>>> singletons certainly won't work. A component encapsulates the state
>>>> private to a single session, they must not be shared among different
>>>> sessions.
>>>>
>>>> If you could provide a file-out or Monticello package then we could
>>>> certainly help to solve your problem. With the current information it
>>>> is rather difficult to help.
>>>>
>>>> Lukas
>>>>
>>>>     
>>>>       
>>>>         
>>> I shall make a file-out shortly, however I have been asked to work on
>>> something else for now.
>>>
>>> On the note of singeltons, the reason for this is because if I created a
>>> new component object, I would receive the callback error because it is
>>> not the same instance as the previous callback state had.
>>>
>>> Once I get round to generating the file out, hopefully my problem will
>>> be more clear.
>>>
>>> John.
>>>
>>> www.pinesoft.co.uk
>>>
>>>
>>> Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
>>>
>>>
>>>
>>> This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
>>>
>>> _______________________________________________
>>> Seaside mailing list
>>> Seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>>  
>>>
>>>   
>>>     
>>>       
>>
>>  
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>     
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>  
>
>   



More information about the Seaside mailing list