The new version 2.1.0 of Struts2 jQuery Plugin is released. With this new version, the plugin loads dependent JavaScript files on demand. This feature makes the plugin much better extensible for own extensions and reduces the initial load of the first load of a page.
Based on the new structure of the plugin the jqGrid Feature is not longer a part of the core plugin. It is now available as a separate extension of the plugin.
There is also a new richtext extension available, that is based on the latest version of popular CKEditor. This allows an easy integration of the richtext editor in your web application.
The Plugin includes now the latest version of jQuery UI 1.8.1, so if you use a custom theme it is recommended to update this in the ThemeRoller. For more information and the changelog for 1.8.1 please read the blog post from jQuery UI.
Changelog:
- Upgrade to jQuery UI 1.8.1
- Head Tag attribute jqueryui is now true by default
- various new examples in the showcase
- The grid showcase is now a maven module and part of the release cycle
- Solve Issue 77: Grid Sample not working properly in IE
- Solve Issue 94: customBasepath doesn’t affect the .js path
- Solve Issue 113: Load needed JavaScript? and CSS resources on demand
- Solve Issue 114: Support for new replaceTarget Option in form plugin
- Solve Issue 115: Grid with locale code ca(catalan) doesn’t work. jQuery and grid differs at the name of the catalan locale(ca-cat)
- Solve Issue 116: pepper-grinder theme
- Solve Issue 123: Implement a debug mode
- Solve Issue 124: Make it possible to easily extend this plugin for custom extensions
- Solve Issue 125: Dialog cannot set position with array of String or Pixel
- Solve Issue 126: drag and drop grid rows
- Solve Issue 127: onChangeTopics not working for textarea and textfield.
- Solve Issue 128: onChangeTopics with <sj:checkboxlist>
- Solve Issue 130: Add Showcase Example how to extend the plugin with custom functions
- Solve Issue 131: Add a Richtext Editor Widget to the plugin
- Solve Issue 132: Scrolling does not work properly
- Solve Issue 134: Move Grid Feature in separate struts2-jquery-grid-plugin
- Solve Issue 135: Enable Maven Support for Grid Showcase
- Solve Issue 138: Upgrade to jQuery UI 1.8.1
- Solve Issue 139: attribute parentTheme does not work well with css_xhtml theme
- Solve Issue 141: Override the param names
- Solve Issue 146: <sj:dialog> makes multiple AJAX calls
- Solve Issue 148: Sortable grid option not working
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
Pingback:Struts2 jQuery Plugin Version 2.1.0 is released | Java … | Source code bank
Pingback:Struts2 jQuery Plugin - Java Forums
Cool, good job
Any plans for this plugin to be bundled with Struts 2?
Currently I know nothing about plans to bundle it with Struts 2.
It was in discuss for some time but without any conclusions.
http://old.nabble.com/Struts2-jQuery-Plugin—Logo-td24642384.html
Pingback:Java, Webprogrammierung, Linux und mehr
I have created a sample that uses jquery and Struts 2 implemented directly…you may want to see it in action http://justlikeinschool.blogspot.com/2010/06/struts-2-and-jquery-without-fuss.html
Hello,
I’m trying to display the list in Action Class which contains set of values in jsp through Struts 2 Jquery Grid Plugin. But, it throws always following Error :
root cause
org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: java.lang.IllegalAccessException: Class org.apache.struts2.json.JSONWriter can not access a member of class org.hibernate.persister.entity.AbstractEntityPersister$3 with modifiers “public”
org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:230)
org.apache.struts2.json.JSONWriter.process(JSONWriter.java:160)
org.apache.struts2.json.JSONWriter.value(JSONWriter.java:126)
I included three jar files :
struts2-jquery-grid-plugin-3.3.0.jar
struts2-jquery-plugin-3.3.0.jar
struts2-json-plugin-2.3.1.2.jar
Looks like a Problem with your Bean or your JSON Configuration. Please check you Code or post it at the Struts2 jQuery User Group.