Hi,

I'm a first time user of this seemingly wonderful framework. I'm trying to
convert a struts application to stripes.

I have a login page composed of frames, the usual header, login form and
footer stuff. When the validation fails, stripes brings up only the login
form with the error messages (no header & footer), instead of the entire
login page. I know this is due to the source page resolution by the
validation framework. And implementing ValidationErrorHandler isn't helping
either. I get the login page without any errors.

public Resolution handleValidationErrors(ValidationErrors errors)
            throws Exception {
        getContext().setValidationErrors(errors);
        return welcome();
   }

@DefaultHandler
    public Resolution welcome() {
        return new ForwardResolution(Pages.LOGIN);
    }

Can anybody suggest an idea to make this work. I can't change my pages to
implement stripes:layout since they are (100s of them) built from the same
frameset.

Thanks,
Deepak
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to