This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • DWR Plugin
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Current »

The DWR plugin INLINE

provides integration with the Ajax framework Direct Web Remoting

.

This plugin works by allowing DWR to execute a Struts 2 action and return any validation errors.

This plugin is only available with Struts 2.1.1 or later

Features

  • Expose Struts 2 validations via DWR

Usage

To expose Struts 2 validations via DWR, add this to your DWR configuration:

{snippet:id=dwrConfiguration|javadoc=true|lang=xml|url=struts2/plugins/dwr/src/main/java/org/apache/struts2/validators/DWRValidator.java}

Settings

This plugin doesn't support any global settings.

Installation

To install, simply include the DWR Plugin in your WEB-INF/lib directory. Ensure that DWR has been correctly installed and configured.

  • No labels