Struts2 jQuery Plugin
A Plugin for the popular java web framework struts2 to provide ajax functionality and UI Widgets based on the jQuery javascript framework.
News
Features
AJAX support
Easy AJAX Form submission and remote call with the anchor and div tag. Support for AJAX in the Tabs.
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib prefix="sj" uri="/struts-jquery-tags"%><html> <head> <sj:head/> </head> <body> <div id="div1">Div 1</div> <s:url id="ajaxTest" value="/AjaxTest.action"/> <sj:a id="link1" href="%{ajaxTest}" targets="div1"> Update Content </sj:a> </body> </html>
Support for themes
Built in themes from jQuery
- black-tie
- blitzer
- cupertino
- dot-luv
- eggplant
- excite-bike
- flick
- hot-sneaks
- humanity
- le-frog
- mint-choc
- overcast
- pepper-grinder
- redmond
- smoothness
- start
- sunny
- swanky-purse
- trontastic
- ui-darkness
- ui-lightness
- vader
- Your custom theme create with jQuery ThemeRoller
More about themes see the Head Tag
Use of Build in themes:
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib prefix="sj" uri="/struts-jquery-tags"%><html> <head> <sj:head jqueryui="true" jquerytheme="cupertino"/> </head> <body> </body> </html>
Use of your costume theme:
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib prefix="sj" uri="/struts-jquery-tags"%><html> <head> <sj:head jqueryui="true" jquerytheme="mytheme" customBasepath="template/themes"/> </head> <body> </body> </html>
UI widgets
- Tabbed Panel
- Datepicker
- Dialog
- Menu
- Accordion
- Autocompleter
- Button
- Buttonset
- Progressbar
- Slider
- Grid
- Richtext Editor
- Charts
- Spinner
UI interactions
- Resizable for Divs
- Drag and Drop for Divs
- Selectable for Divs
- Sortable for Divs
0 comments:
Post a Comment