[Opensource] ErrorCollection
Jefferson Magno
jefferson at boavistanet.com.br
Mon Mar 24 12:42:16 PST 2003
Perfect Kris! That is what I was searching for.
Thks
Jefferson Magno
Em Seg, 2003-03-24 às 15:25, Thompson, Kris escreveu:
> Check out the ControllerResponse, it's method call is different, it is saveErrors(ErrorCollection) but I think does in principal the same thing. Below is example code for using it
>
> if ( errors.getErrorCount() > 0 ) {
> response.saveErrors( errors );
> log.debug( "image format incorrect" );
> transition( "promptChangeImage", request, response );
> return;
> }
>
> Does this help?
>
> Kris Thompson
>
> > -----Original Message-----
> > From: Jefferson Magno [mailto:jefferson at boavistanet.com.br]
> > Sent: Monday, March 24, 2003 4:17 AM
> > To: opensource at jcorporate.com
> > Subject: [Opensource] ErrorCollection
> >
> >
> > Hello all,
> >
> > I need to create an
> > com.jcorporate.expresso.core.controller.ErrorCollection object to pass
> > it to a JSP.
> >
> > Reading the JavaDoc of Controller, I saw it inherits from
> > org.apache.struts.action.Action a method called saveErrors() that
> > receives as arguments an javax.servlet.http.HttpServletRequest object,
> > but I didn't find where I can obtain it. Can you help me?
> >
> > Thanks a lot.
> >
> > Jefferson
> >
> >
> >
> > _______________________________________________
> > Opensource mailing list
> > Opensource at jcorporate.com
> > http://mail.jcorporate.com/mailman/listinfo/opensource
> > Archives: http://mail.jcorporate.com/pipermail/opensource/
> >
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
>
More information about the Opensource
mailing list