Remote-pagination : support for javascript events added

14 / Mar / 2011 by Amit Jain 0 comments

Hi Friends,

I have released the version 0.2.5 of Remote-Pagination, which now provides the support for all the events as supported by grails tags like remote-link.  Events supported are listed below :

  1. onSuccess  – The javascript function to call if successful
  2. onFailure  – The javascript function to call if the call failed
  3. on_ERROR_CODE – The javascript function to call to handle specified error codes (eg on404=”alert(‘not found!’)”). With Prototype, this prevents execution of onSuccess and onFailure.
  4. onUninitialized  – The javascript function to call the a ajax engine failed to initialise
  5. onLoading  – The javascript function to call when the remote function is loading the response
  6. onLoaded  – The javascript function to call when the remote function is completed loading the response
  7. onComplete  – The javascript function to call when the remote function is complete, including any updates.

Version 0.2.5  fixes the jira issue GRAILSPLUGINS-2804.

For any new feature request or a bug please raise a jira here.

Thanks for all your support!

~~Amit Jain~~

amit@intelligrape.com

http://www.tothenew.com

FOUND THIS USEFUL? SHARE IT

Leave a comment -