Plugins You can find out about all the publicly available Grails plugins.

Grails Pjax Plugin

  • Tags: pjax, ajax
  • Latest: 0.0.9
  • Last Updated: 04 July 2015
  • Grails version: 2.0 > *
1 vote
compile ":pjax:0.0.9"

 Documentation  Source  Issues


Grails Pjax Plugin: more easy pjax in Grails.See more


grails install-plugin pjax


Grails Pjax Plugin Grails Pjax Plugin cloud help you use pjax in Grails.

The pjax function is enabled on a 'A' tag , a button and a form. see code in pjaxHeader.

What is Pjax?

Pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.

see more, Please go


First, the pjax function is enabled on a tag , a button and a form. see code as pjaxHeader showed.

  1. load resource: in a page or layout header add code:
<g:render template="/pjaxHeader" plugin="pjax"/>

this will load the jquery.pjax.js file and give the default usage of pjax as a standand ref .

2. config content page: put the code below in a pjax content file:

<meta name="layout" content="${request.isPjax?'':'main'}">

Change Log


Updated the jquery.pjax.js to version 1.7.0 Updated this file. more details comes up.


First publish of Grails Pjax Plugin.