<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Well, actually, it does work, just not the way
you would expect...<br>
<br>
<font color="#000099">Duration>></font></font><font
color="#000099" face="Georgia">javascriptOn:<br>
<br>
</font><font color="#000099" face="Georgia">javascriptOn: aStream<br>
<br>
aStream javascript: self asMilliseconds<br>
</font><br>
so, with<br>
frequency: 5 seconds;<br>
you get:<br>
/*<![CDATA[*/function onLoad(){new
Ajax.PeriodicalUpdater("id2","/minimal",{"evalScripts":true,"parameters":["_s=D9HBcPMns0cWVlyv","_k=FRkhcmfBZDlqJufs","1"].join("&"),<font
color="#ff0000">"frequency":5000}</font>);};/*]]>*/<br>
<br>
whereas, with <br>
frequency: 5 ;<br>
you get<br>
/*<![CDATA[*/function onLoad(){new
Ajax.PeriodicalUpdater("id2","/minimal",{"evalScripts":true,"parameters":["_s=vwLxpe0u7GDjrXNf","_k=6_NhJs0lWtpMzr6m","1"].join("&"),<font
color="#ff0000">"frequency":5</font>});};/*]]>*/<br>
<br>
Aren't unit of measure issues fun?<br>
<br>
Cheers,<br>
Bob<br>
<br>
<br>
On 10/1/11 7:17 PM, squeakman wrote:
<blockquote cite="mid:j6872f$lo1$1@dough.gmane.org" type="cite">Hi
Bob,
<br>
<br>
You are right that does work. The only difference I can see is the
use of the frequency: method.
<br>
<br>
If I use frequency: 5 seconds; then it does not work.
<br>
<br>
If I use frequency: 5; this works.
<br>
<br>
It looks as if you can no longer use aDuration for frequency:
<br>
<br>
Thanks for your help
<br>
<br>
On 01/10/2011 7:00 PM, Bob Arning wrote:
<br>
<blockquote type="cite">This works:
<br>
<br>
renderContentOn: html
<br>
<br>
html div script: ((html prototype periodical)
<br>
frequency: 5 ;
<br>
on: #renderNextImageOn: of: self);
<br>
with: [html text: 'this is a test']
<br>
<br>
Cheers,
<br>
Bob
<br>
<br>
On 10/1/11 5:31 PM, squeakman wrote:
<br>
<blockquote type="cite">Attached is a minimal test of
SUPeriodical that I believe shows the
<br>
problem. I am using VisualWorks.
<br>
<br>
As an aside, I notice that in the test example
SUPeriodicalTest, (html
<br>
scriptaculous periodical) is not being used, instead they are
using
<br>
(html scriptaculous updater) with an interval: method. I have
no idea
<br>
if this is significant or not.
<br>
<br>
Thanks,
<br>
Frank
<br>
<br>
On 01/10/2011 4:56 PM, Lukas Renggli wrote:
<br>
<blockquote type="cite">Ok, so maybe you can provide a minimal
file-out so that we can
<br>
reproduce?
<br>
<br>
Lukas
<br>
<br>
On 1 October 2011 22:54,
squeakman<a class="moz-txt-link-rfc2396E" href="mailto:squeakman@gmail.com"><squeakman@gmail.com></a> wrote:
<br>
<blockquote type="cite">Ah, the syntax error was my typing
error. I had the line:
<br>
((html scriptaculous periodical) halt;
<br>
<br>
and when I constructed my email I deleted the "halt" but
forgot the
<br>
semicolon. So it is not an issue with the compiler, just
me.
<br>
<br>
<br>
On 01/10/2011 4:26 PM, Lukas Renggli wrote:
<br>
<blockquote type="cite">
<br>
I don't see a logical problem in your snippet.
<br>
<br>
There is a syntax error though: I have no clue what the
first
<br>
semicolon means and why a Smalltalk compiler would
accept that?
<br>
<br>
Lukas
<br>
<br>
On 1 October 2011 20:02,
squeakman<a class="moz-txt-link-rfc2396E" href="mailto:squeakman@gmail.com"><squeakman@gmail.com></a> wrote:
<br>
<blockquote type="cite">
<br>
No, no FireBug errors.
<br>
<br>
<br>
On 01/10/2011 1:44 PM, Lukas Renggli wrote:
<br>
<blockquote type="cite">
<br>
Any errors in FireBug?
<br>
<br>
On Saturday, 1 October 2011,
squeakman<<a class="moz-txt-link-abbreviated" href="mailto:squeakman@gmail.com">squeakman@gmail.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:squeakman@gmail.com"><mailto:squeakman@gmail.com></a>> wrote:
<br>
> Hi,
<br>
>
<br>
> I have the following code:
<br>
>
<br>
> html
<br>
> script:
<br>
> ((html scriptaculous periodical);
<br>
> id: 'compositeGraph';
<br>
> frequency: 5 seconds;
<br>
> on: #renderNextImageOn: of: self ;
<br>
> assignTo: 'FLPer').
<br>
>
<br>
>
<br>
> but my method #renderNextImageOn: never gets
called. Do you see
<br>
anything obvious that I am doing wrong?
<br>
>
<br>
> Thanks,
<br>
> Frank
<br>
>
<br>
> _______________________________________________
<br>
> seaside mailing list
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:seaside@lists.squeakfoundation.org"><mailto:seaside@lists.squeakfoundation.org></a>
<br>
>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
>
<br>
<br>
--
<br>
Lukas Renggli
<br>
<a class="moz-txt-link-abbreviated" href="http://www.lukas-renggli.ch">www.lukas-renggli.ch</a><a class="moz-txt-link-rfc2396E" href="http://www.lukas-renggli.ch"><http://www.lukas-renggli.ch></a>
<br>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
<br>
</blockquote>
</body>
</html>