[Seaside] Re: SUPeriodical

Bob Arning arning at charm.net
Sat Oct 1 23:00:17 UTC 2011


This works:

renderContentOn: html

     html div script: ((html prototype periodical)
                 frequency: 5 ;
                 on: #renderNextImageOn: of: self);
         with: [html text: 'this is a test']

Cheers,
Bob

On 10/1/11 5:31 PM, squeakman wrote:
> Attached is a minimal test of SUPeriodical that I believe shows the 
> problem.  I am using VisualWorks.
>
> As an aside, I notice that in the test example SUPeriodicalTest, (html 
> scriptaculous periodical) is not being used, instead they are using 
> (html scriptaculous updater) with an interval: method.  I have no idea 
> if this is significant or not.
>
> Thanks,
> Frank
>
> On 01/10/2011 4:56 PM, Lukas Renggli wrote:
>> Ok, so maybe you can provide a minimal file-out so that we can 
>> reproduce?
>>
>> Lukas
>>
>> On 1 October 2011 22:54, squeakman<squeakman at gmail.com>  wrote:
>>> Ah, the syntax error was my typing error.  I had the line:
>>>         ((html scriptaculous periodical) halt;
>>>
>>> and when I constructed my email I deleted the "halt" but forgot the
>>> semicolon.  So it is not an issue with the compiler, just me.
>>>
>>>
>>> On 01/10/2011 4:26 PM, Lukas Renggli wrote:
>>>>
>>>> I don't see a logical problem in your snippet.
>>>>
>>>> There is a syntax error though: I have no clue what the first
>>>> semicolon means and why a Smalltalk compiler would accept that?
>>>>
>>>> Lukas
>>>>
>>>> On 1 October 2011 20:02, squeakman<squeakman at gmail.com>    wrote:
>>>>>
>>>>> No, no FireBug errors.
>>>>>
>>>>>
>>>>> On 01/10/2011 1:44 PM, Lukas Renggli wrote:
>>>>>>
>>>>>> Any errors in FireBug?
>>>>>>
>>>>>> On Saturday, 1 October 2011, squeakman<squeakman at gmail.com
>>>>>> <mailto:squeakman at gmail.com>>    wrote:
>>>>>> >    Hi,
>>>>>> >
>>>>>> >    I have the following code:
>>>>>> >
>>>>>> >    html
>>>>>> >      script:
>>>>>> >         ((html scriptaculous periodical);
>>>>>> >         id: 'compositeGraph';
>>>>>> >         frequency: 5 seconds;
>>>>>> >         on: #renderNextImageOn: of: self ;
>>>>>> >         assignTo: 'FLPer').
>>>>>> >
>>>>>> >
>>>>>> >    but my method #renderNextImageOn: never gets called. Do you see
>>>>>> anything obvious that I am doing wrong?
>>>>>> >
>>>>>> >    Thanks,
>>>>>> >    Frank
>>>>>> >
>>>>>> >    _______________________________________________
>>>>>> >    seaside mailing list
>>>>>> >    seaside at lists.squeakfoundation.org
>>>>>> <mailto:seaside at lists.squeakfoundation.org>
>>>>>> >    
>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>> >
>>>>>>
>>>>>> -- 
>>>>>> Lukas Renggli
>>>>>> www.lukas-renggli.ch<http://www.lukas-renggli.ch>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>
>>
>>
>>
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111001/bbfba40d/attachment.htm


More information about the seaside mailing list