Commits

Anonymous committed 52a0e5c

added debug statements

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@836e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 32abfae

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/interceptor/DefaultWorkflowInterceptor.java

  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
  */
 public class DefaultWorkflowInterceptor extends MethodFilterInterceptor {
+	
+	private static final Log _log = LogFactory.getLog(DefaultWorkflowInterceptor.class);
+	
     /**
      * @see com.opensymphony.xwork.interceptor.MethodFilterInterceptor#doIntercept(com.opensymphony.xwork.ActionInvocation)
      */
 
         if (action instanceof Validateable) {
             Validateable validateable = (Validateable) action;
+            _log.debug("invoking validate() on action "+validateable);
             validateable.validate();
         }
 
             ValidationAware validationAwareAction = (ValidationAware) action;
 
             if (validationAwareAction.hasErrors()) {
+            	_log.debug("errors on action "+validationAwareAction+", returning result name 'input'");
                 return Action.INPUT;
             }
         }