Re: adding an ActionError in the Action

2001-05-02 Thread David Morris
Andrew, Did you ever get an answer? What we found was that we could copy to the request scope and errors work fine. I then tried changing the doRequest for HttpError and it seems OK. David Morris >>> [EMAIL PROTECTED] 04/26/01 02:29AM >>> Hi, If I form validates itself OK but subsequentl

Re: adding an ActionError in the Action

2001-04-26 Thread Rajan Gupta
Have u looked at saveErrors() method of Action object. It should do the work that you wish to do, just remember to use the errors tag in your page --Andrew Steady <[EMAIL PROTECTED]> wrote: > > Hi, > > > > If I form validates itself OK but subsequently the Action needs to raise > an >

Re: adding an ActionError in the Action

2001-04-26 Thread Jean-Noel Ribette
:29 AM Subject: adding an ActionError in the Action > > Hi, > > > > If I form validates itself OK but subsequently the Action needs to raise an > input error to the user, in my case security failed, how is it > possible to add an ActionError for the errors tag t

adding an ActionError in the Action

2001-04-26 Thread Andrew Steady
Hi, If I form validates itself OK but subsequently the Action needs to raise an input error to the user, in my case security failed, how is it possible to add an ActionError for the errors tag to pick up. The only way to give struts a collection of ActionErrors is by returing