org.apache.struts2.validators
Class DWRValidator

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

public class DWRValidator
extends 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
           
static class DWRValidator.ValidatorActionProxy
           
 
Field Summary
private static Log LOG
           
 
Constructor Summary
DWRValidator()
           
 
Method Summary
 ValidationAwareSupport doPost(String namespace, String action, Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

DWRValidator

public DWRValidator()
Method Detail

doPost

public ValidationAwareSupport doPost(String namespace,
                                     String action,
                                     Map params)
                              throws Exception
Throws:
Exception


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