org.apache.struts2.validators
Class DWRValidator

java.lang.Object
  extended by org.apache.struts2.validators.DWRValidator

public class DWRValidator
extends java.lang.Object

Use the dwr configuration as follows :-

 

 <dwr>
    <allow>
      <create creator="new" javascript="validator" class="org.apache.struts2.validators.DWRValidator"/>
      <convert converter="bean" match="com.opensymphony.xwork2.ValidationAwareSupport"/>
    </allow>
 </dwr>

 
 


Nested Class Summary
static class DWRValidator.ValidatorActionInvocation
           
 
Constructor Summary
DWRValidator()
           
 
Method Summary
 ValidationAwareSupport doPost(java.lang.String namespace, java.lang.String actionName, java.util.Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DWRValidator

public DWRValidator()
Method Detail

doPost

public ValidationAwareSupport doPost(java.lang.String namespace,
                                     java.lang.String actionName,
                                     java.util.Map params)
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.