Matt-
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
the advice to 86 the old xwork libraries (Your application is now dependent on 
xwork-2.1.x) is premature

//lets take a look at documentation on using visitor field validator from
http://struts.apache.org/2.0.14/docs/using-visitor-field-validator.html
public class VisitorValidatorsExampleAction extends 
AbstractValidationActionSupport

//Latest WW 2.2.7 distro d/l http://www.opensymphony.com/webwork/download.action

/** Copyright (c) 2002-2003 by OpenSymphony All rights reserved.*/
package com.opensymphony.webwork.showcase.validation;

//NOT xwork2..(uses legacy xwork 1.x library)
import com.opensymphony.xwork.ActionSupport;
/**
 * @author tm_jee
 * @version $Date: 2005-12-24 17:13:49 +0800 (Sat, 24 Dec 2005) $ $Id: 
AbstractValidationActionSupport.java 1856 2005-12-24 09:13:49Z tmjee $
 */
public abstract class AbstractValidationActionSupport extends ActionSupport {
    public String submit() throws Exception {
        return "success";
    }
    public String input() throws Exception {
        return "input";
    }
}

can you ping  rain...@gmail.com to determine if webwork has patch for xwork2 
available?

good catch/
Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de 
déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.






> Date: Mon, 27 Apr 2009 06:57:52 -0700
> From: m...@raibledesigns.com
> To: user@struts.apache.org
> Subject: Upgrading AppFuse to Struts 2.1
> 
> 
> This weekend, I attempted to upgrade AppFuse to use Struts 2.1 (formerly
> using 2.0.11.1). I used the following instructions:
> 
> http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
> 
> After completing all the steps, I was able to get everything to compile and
> start. However, the upgrade seems to have failed as the following issues
> still remain:
> 
> 1. Users have to login for each page request. 
> 2. Signup fails with the following error:
> 
> WARN [btpool0-3] VisitorFieldValidator.warn(45) | The visited object is
> null, VisitorValidator will not be able to handle validation properly.
> Please make sure the visited object is not null for VisitorValidator to
> function properly
> WARN [btpool0-3] Dispatcher.warn(49) | Could not find action or result
> No result defined for action org.appfuse.webapp.action.SignupAction and
> result input  
> 
> If anyone has advice for how to fix these issues, I'd love to hear it. You
> can find the JIRA issue and patch I tried at:
> 
> http://issues.appfuse.org/browse/APF-1130
> 
> Thanks,
> 
> Matt
> -- 
> View this message in context: 
> http://www.nabble.com/Upgrading-AppFuse-to-Struts-2.1-tp23256858p23256858.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

_________________________________________________________________
Rediscover Hotmail®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009

Reply via email to