<html><head></head><body bgcolor="#FFFFFF"><div>If you download the latest full calendar example from squeak source I've added a link below the example calendar that turns on the "change event color" functionality. The logic for that is split between seaside and a plain jQuery function I added to the example<br><br><br><br><br>On Jan 16, 2013, at 12:31 AM, Davide Varvello &lt;<a href="mailto:davide.varvello@gmail.com">davide.varvello@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><div class="gmail_quote"><div>Hi Paul,</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
</div>Nothing other than the jQuery docs. jQuery in Seaside maps 1:1 with<br>
jQuery because I think Lukas Renggli builds the package from the jQuery<br>
docs or source. &nbsp;I'm sure someone on the Seaside list has a better<br>
answer for you about jQuery + ajax + Seaside. &nbsp;I don't think its<br>
possible to do conditional logic with it either. &nbsp;My preference, and I<br>
think the recommendation, is to do as little as possible in Seaside with<br>
jQuery and instead put most of the logic in a js method that is called<br>
on the client.<br>
<br>
The docs of fullcalendar here: <a href="http://arshaw.com/fullcalendar/docs" target="_blank">http://arshaw.com/fullcalendar/docs</a><br>
are extensive. &nbsp;I think I've got most of it in that package. &nbsp;To get the<br>
events in the client you want #clientEvents:<br>
<br>
I added a link to the example that does what you want, in a limited way.<br></blockquote><div><br></div><div><br></div><div>Sorry Paul, which link are you saying about?</div><div><br></div><div>Davide</div><div><br></div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&nbsp;Every 10 seconds it changes the background color of the events and only<br>
sends enough JSON to identify the event and specify the new background<br>
color.&nbsp;</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;It does not re-render the whole thing. &nbsp;I think building the js<br>
function in Seaside would be not fun.<br>
<br>
<br>
When you initially render the events be sure to give them a unique id by<br>
setting something in the id inst var. (In the example its the first line<br>
in the #renderCalendar: method)<br>
<br>
<br>
<br>
Take care<br>
<span class="HOEnZb"><font color="#888888"><br>
Paul<br>
</font></span><div class="HOEnZb"><div class="h5"><br><br></div></div></blockquote></div>
</div></blockquote></body></html>