Here is an example of what we want to do:<br><br><b>anAnnouncerModel</b><br> when: <b>ExampleAnnouncement</b><br> do:<br> [:anAnnouncement :anAnnouncer |<br> aCometPage push: (<br> (html updater)<br>
id: aDOM_ID_OfTheAlreadyRenderedPage;<br>
callback:<br>
[:renderer | do some stuff with the renderer];<br>
yourself )<br> ]<br><br>The time line will be as follow: <br>1.- first we delivered a web page into the browser <br>2.- at some point, the model change and triggers an announce: <b>ExampleAnnouncement<br></b>3.- the already rendered page( 1.- ) get notified <br>
4.- the already rendered page push an AJAX JS into the browser using the block we had put some lines above<br><br>We can do this keeping the 'html' when the page is rendered, and with that 'html' we create a SUUpdater and then we push it into the browser. But we think that's a wrong approach to solve this issue.<br>
<br>So, if you thinks there is another better way, would be nice to hear of it.<br>Bye!<br clear="all"><br>-- <br>Luke LAut SkyFernadezWalker<br>