The new Version 3.3.2 of Struts2 jQuery Plugin is now available.

Tree with Checkboxes

This release is not only a bugfix release it brings also some usefully new features to you. One of the new Features is the support for Checkboxes in the TreeTag. See the new Tree with Checkboxes Example in the Showcase App. Struts2 jQuery Tree Tag with Checkboxes

<s:form id="treeForm" action="echo" theme="simple">
    	<sjt:tree 
    		name="echo"
    		id="treeDynamicCheckboxes" 
    		jstreetheme="apple"
    		rootNode="nodes"
    		childCollectionProperty="children"
    		nodeTitleProperty="title"
    		nodeIdProperty="id"
    		openAllOnLoad="true" 
    		checkbox="true"
    		checkboxCheckAllTopics="checkAllNodesTopic"
    		checkboxUncheckAllTopics="uncheckAllNodesTopic"
    		checkboxShowTopics="showCheckboxesTopic"
    		checkboxHideTopics="hideCheckboxesTopic"
    		onClickTopics="treeClicked" 
    	/>
    	<sj:submit formIds="treeForm" targets="result3" button="true" />
    	<sj:submit onClickTopics="checkAllNodesTopic" value="Check all Nodes" button="true" />
    	<sj:submit onClickTopics="uncheckAllNodesTopic" value="Uncheck all Nodes" button="true" />
    	<sj:submit onClickTopics="showCheckboxesTopic" value="Show Checkboxes" button="true" />
    	<sj:submit onClickTopics="hideCheckboxesTopic" value="Hide Checkboxes" button="true" />
</s:form>

Improved DIV an Anchor Tag

The Div Tag has now two new attributes. The first new attribute is the delay attribute which allows to set an delay in milliseconds until the div should load the remote content via AJAX. The other new attribute is updateFreq which provide an ability to reload the div content after a specified interval in milliseconds.

<sj:div delay="200" updateFreq="5000"/>

The Anchor Tag provides also some new attributes. This new attributes allows an improved handling when submitting a form via Anchor Tag. For details please see Issue 849. A other new attribute openDialogTitle allows to set dynamically the Title of an Dialog when opened this dialog via openDialog attribute or via topics. See the updated Remote Dialogs Example in the Showcase App.

Library Updates

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

Download: http://code.google.com/p/struts2-jquery/downloads/list
Showcase: http://struts.jgeppert.com/struts2-jquery-showcase/
Issues: http://code.google.com/p/struts2-jquery/issues/list
User Group: http://groups.google.com/group/struts2-jquery