{"id":3318,"date":"2011-03-14T19:11:36","date_gmt":"2011-03-14T13:41:36","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=3318"},"modified":"2016-12-19T15:19:23","modified_gmt":"2016-12-19T09:49:23","slug":"remote-pagination-support-for-javascript-events-added","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/remote-pagination-support-for-javascript-events-added\/","title":{"rendered":"Remote-pagination : support for javascript events added"},"content":{"rendered":"<p>Hi Friends,<\/p>\n<p>I have released the version 0.2.5 of <a href=\"http:\/\/www.grails.org\/plugin\/remote-pagination\">Remote-Pagination<\/a>, which now provides the support for all the events as supported by grails tags like remote-link.\u00a0 Events supported are listed below :<\/p>\n<ol>\n<li>onSuccess\u00a0 &#8211; The javascript function to call if successful<\/li>\n<li>onFailure\u00a0 &#8211; The javascript function to call if the call failed<\/li>\n<li>on_ERROR_CODE &#8211; The javascript function to call to handle  specified error codes (eg on404=&#8221;alert(&#8216;not found!&#8217;)&#8221;). With Prototype,  this prevents execution of onSuccess and onFailure.<\/li>\n<li>onUninitialized\u00a0 &#8211; The javascript function to call the a ajax engine failed to initialise<\/li>\n<li>onLoading\u00a0 &#8211; The javascript function to call when the remote function is loading the response<\/li>\n<li>onLoaded\u00a0 &#8211; The javascript function to call when the remote function is completed loading the response<\/li>\n<li>onComplete\u00a0 &#8211; The javascript function to call when the remote function is complete, including any updates.<\/li>\n<\/ol>\n<p>Version 0.2.5\u00a0 fixes the jira issue GRAILSPLUGINS-2804.<\/p>\n<p>For any new feature request or a bug please raise a jira here.<\/p>\n<p>Thanks for all your support!<\/p>\n<p>~~Amit Jain~~<\/p>\n<p>amit@intelligrape.com<\/p>\n<p>http:\/\/www.tothenew.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.\u00a0 Events supported are listed below : onSuccess\u00a0 &#8211; The javascript function to call if successful onFailure\u00a0 &#8211; The javascript function to call if the call failed on_ERROR_CODE &#8211; The [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1},"categories":[7],"tags":[4840,295],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3318"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=3318"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3318\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=3318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=3318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=3318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}