Niklas Johansson wrote:
P.S. AbstractValidationActionSupport doesn’t seem to be included in the
Struts2 (2.1.6) framework anyhow, couldn’t find it in any jar. But there are
quite a few so perhaps I missed it.

It's in the showcase application, like I said before.

Från: Martin Gainty [mailto:mgai...@hotmail.com]
do NOT extend ActionSupport as ActionSupport doesnt contain Field Validation
Lofic

Here's the source for AbstractValidationActionSupport:

public abstract class AbstractValidationActionSupport
                extends ActionSupport {
    public String submit() throws Exception {
        return "success";
    }
    public String input() throws Exception {
        return "input";
    }
}

Please explain to us what you mean, both how the above method adds field validation logic, and how ActionSupport doesn't.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to