Re: Submit a form automatically after N seconds

2008-10-07 Thread Jeremy Thomerson
I have not tried this, and there are probably better ways, but you might be able to: - create a subclass of AbstractAjaxTimerBehavior - override getCallbackScript and return the code that is generated by AjaxFormSubmitBehavior#getEventHandler This would involve copy-and-paste of some code out of

Submit a form automatically after N seconds

2008-10-07 Thread Edgar Merino
Hello, I've been trying to add this functionality to a component, after (say) 120 seconds I want to submit the form automatically (via ajax) in order to create a backup of the information hold at that time by the component. I've been looking at ajaxformsubmitbehavior but I don't see how to make