Has anyone implemented EventObserver in the $ajax->observefield helper. This method uses an event instead of a timer as per the Form.Element.Observer. The parameter passed is, for example, on: blur, instead of the frequency: 5. This is available in the rails observefield method, ie depending on what parameters are sent, on or frequency, observefield will set the correct callback function. In terms of form usability, frequency/time based events are fine for search fields but not much good for run of the mill forms where events like blur would be more useful;
ruby source is 351: def observe_field(field_id, options = {}) 352: if options[:frequency] && options[:frequency] > 0 353: build_observer('Form.Element.Observer', field_id, options) 354: else 355: build_observer('Form.Element.EventObserver', field_id, options) 356: end 357: end if no one has implemented this i'll get hacking. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---