Hi. New to Turbogears and Mochikit (did I just hear everyone clicking the back key? :-) I am teaching myself by doing an in/out sign in board, which I have gotten to the point where I have a table that I can sort, as well as update by clicking on the edit button for the inout_status field. Really think TG and Mochikit are cool!!!! My stumbling point now is how to keep the table contents up-to-date (showing all the correct inout_status values as people update their own status) without doing a page refresh. Is there a timer function (I think that calllater might be it???). I have two ideas here:
1) Have TG maintain a variable (change_flag) that the edit button(s) on all the user screens will set as TRUE when the user changes inout_status. Each screen could then periodically check for that change_flag == true, and if so, the table value could all be updated? 2) Just have a timer in Mochikit that would trigger periodic updates to ALL the table contents. Any suggestions as to how to set up timers and also how to reload all the table values woudl be appreciated. Thanks! Jamie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
