Hi Alexander, is there a new version of struts which fixes this bug
Mohammed ----- Original Message ----- From: "Alexander Jesse" <[EMAIL PROTECTED]> To: "struts-user" <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 1:14 PM Subject: RE: <html:error> > Hi, > > that's a little bug in the 1.0 struts-error-tags. > I use the error-tags coming with David Winterfeldt's validation framework. > The are compatible, allow for more flexible formatting and work. > > hope this helps > Alexander Jesse > > -----Original Message----- > From: Mohammed [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 05, 2001 12:48 PM > To: Struts Users Mailing List > Subject: <html:error> > > > Hi, > > 1) In my jsp file I insert two error tags as follow: > > <html:error property=registrationerror1> > <html:error property=registrationerror2> > > the registrationerror1 is added if the form validating of Action1 fails. > and the reigstrationerror2 is added in action2 if inserting the new customer > in the database fails. > > if an error occurs in Action2 I am forwarding to Action1 which sendes my jsp > file to the browser. > my problem is when no error under the property registrationerroe1 is added > in Action1 the Errorheader andErrorfooter > are displayed in the browser. > how can I avoid this? > Is there a way I can check if the number of error of the given property > zero is or not before insertinh the Error Tag? > > Thanks for any hint > > Mohammed > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>