I am happy to announce that the Version 3.3.0 of Struts2 jQuery Plugin is now available. The main change is the switch from jQuery 1.6.4 to the latest version 1.7.1 of the jQuery 1.7.x releases.

This Version includes a lot of library updates and 18 solved Issues. The Handler Functions are now split into two different JavaScript Files. One for the base jQuery AJAX Handling and one for the jQuery UI Tags. This improves the load time in all application which are running without jQuery UI widgets.

The Grid tag is now supporting frozen columns which comes with the latest jqGrid release 4.3.1. Simply add the frozen attribute to your first grid column to enable this feature. Also take a look at the new add and delete buttons in your Navigator when using Edit inline. To enable this buttons set the navigatorInlineEditButtons to true.

<sjg:gridcolumn ...="" frozen="true" ..="">

The Struts2 jQuery Plugin provides now two Maven Archetypes for an easy start with Struts2, jQuery and Maven. The first is based on the Struts2 Convention Archetype but with included s2j dependencies. The second is for an easy start with the Grid Plugin. This new Archetypes shrinks the Steps described in my previous post 4 Easy Steps to create a Java based Web Application with Struts2 and jQuery to only one Step.

mvn archetype:generate -B -DgroupId=com.mycompany.mysystem -DartifactId=myWebApp -DarchetypeGroupId=com.jgeppert.struts2.jquery -DarchetypeArtifactId=struts2-jquery-archetype-base -DarchetypeVersion=3.3.0


mvn archetype:generate -B -DgroupId=com.mycompany.mysystem -DartifactId=myWebAppGrid -DarchetypeGroupId=com.jgeppert.struts2.jquery -DarchetypeArtifactId=struts2-jquery-bootstrap-archetype-grid -DarchetypeVersion=3.3.0

Library Updates

For a complete list of changes since last version, please visit the Changelog.

Download: https://oss.sonatype.org/content/groups/staging/com/jgeppert/struts2/jquery/
Showcase: https://struts.jgeppert.com/struts2-jquery-showcase/
Issues: https://github.com/struts-community-plugins/struts2-jquery/issues
User Group: https://groups.google.com/group/struts2-jquery

Struts2 jQuery Plugin now based on jQuery 1.7 and with support for frozen Columns
Tagged on:                 

7 thoughts on “Struts2 jQuery Plugin now based on jQuery 1.7 and with support for frozen Columns

  • 2012-03-13 at 22:02

    Hi, first of all thank you for the plugin.

    I’m trying to get the archtype with the above commands, but I get an error saying that the desired archetype does not exist. I checked the central repo and they are not there. I see the rest of the jars http://search.maven.org/#browse%7C673035855 but the archetype is not there.

    Do I need to add another thing? Sorry but i’m knda new to maven

    • 2012-03-14 at 07:54

      Maybe it takes some time for syncing the Maven Repositories. I just try it and it runs fine for me. Can you please try again?

  • 2012-03-20 at 15:06

    Hi, thanks for this great plugin.
    I was testing with showcase 3.3.0 , got a error in AJAX Forms with Validation page (AJAX Forms with Custome Validation worked just fine).
    Firebug console shows…
    data.indexOf is not a function
    if(data.indexOf(“/* {“) === 0) { @ utils.js (line 27)

    POST response is OK,

  • 2012-05-28 at 11:48

    Hi ,am trying to use struts2-jquery-grid plugin 3.3.1 in my applicaiotn for jsp page design.

    It says — navigatorInlineEditButtons onEditInlineSuccessTopics=”onSuccess” onEditInlineAfterSaveTopics

    is not a valid attribute. Am not able to create inline record second time in oc4j server as well. Can you please suggest something ???


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.