"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] wrote:
>> Is there any thought on Observers (like in Rails) that monitors changes
>> in selection lists, form fields, etc to invoke a ajax call in order to
>> simplify event handling.
>
> Within Rails you can setup an Observer with a timer to set polling
> frequency to check if there is a change on a field(s). If the field is
> changed an ajax process is triggered. Yes you can do this in javascript
> but in my humble opinion the less js the better.

It sounds like a widget that contains a JSSource with the code.  The value can
be a dict with the name of the "observed" object and the polling frequency.

You write JS only once. :-)

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to