Monday, December 7, 2009

New Features in Struts 2.0 for AJAX


One of the useful enhancements in Struts 2.0 is the introduction of AJAX Theme
The Ajax theme extends the xhtml theme with AJAX features.
The theme uses the popular DOJO AJAX/JavaScript toolkit.
The new AJAX features include:
• AJAX Client Side Validation
• Remote form submission support (works with the submit tag as well)
• An advanced div template that provides dynamic reloading of 
   partial HTML
• An advanced a template that provides the ability to 
    load and evaluate JavaScript remotely
• An AJAX-only tabbed Panel implementation
• A rich pub-sub event model
• Interactive auto complete tag
The framework provides a set of tags to help you ajaxify your applications,
on Dojo.
To use the Ajax tags you need to set the "theme" attribute to "Ajax".
Use the head tag to configure the page for the Ajax theme.

No comments:

Post a Comment