[Seaside] According to Lukas Renggli the following pattern is used to 'say it smalltalk' for jQuery

Fritz Schenk intrader.intrader at gmail.com
Thu Dec 23 21:54:52 UTC 2010


"Basically
Query action
"
Note: this is from hist presentation at ESUG.

Fits the following code perfectly:
<code>
onClick: ((html jQuery: #count) load
            html: [ :h | h render: (count := count - 1) ]);
</code>

However, what pattern fits the following":
<code>
      html submitButton
         onClick: (html jQuery ajax
            script: [ :s | s << (s jQuery: #logger) html: DateAndTime now ]);
         with: 'Replace'.
</code>

There appear that there are two messages starting with 'jQuery' '#jQuery' and 
'#jQuery:'; but what is the Query and what is the action in the last example?

It would be nice to have some paragraphs describing the architecture of the 
jQuery implementation in Seaside. Merely to point to the superb jQuery 
documentation is not sufficient for me.

Thanks



More information about the seaside mailing list