RE: Exception Handling keeping user input

2007-12-26 Thread Jeremy JGR. Grumbach
Jeremy, how do you control which result is chosen? Adam Jeremy JGR. Grumbach on 20/12/07 13:14, wrote: > It's working with an interceptor :-) > > All my actions are implementing ActionSupport and I use the > ActionSupport class in my interceptor. > > This is maybe not the f

RE: Exception Handling keeping user input

2007-12-20 Thread Jeremy JGR. Grumbach
message = key; } va.addActionError(message); } } } } Best regards, Jeremy -Original Message----- From: Jeremy JGR. Grumbach [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 10:28 AM To: Struts Users Mail

RE: Question about validation mechanism

2007-12-20 Thread Jeremy JGR. Grumbach
e using the s2 tags, then the getter matching the name attribute will be called on the action or model. /Ian -- Ian Roughley >From Down & Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Jeremy JGR. Grumba

Question about validation mechanism

2007-12-19 Thread Jeremy JGR. Grumbach
Hi, I have a page "add.jsp" with a form and lots of fields. I have added a validation in my struts configuration to validate the form. During the form validation, if an error is detected, then an action error is added to the request and struts redirects to the "input" forward. In most of cases

RE: Exception Handling keeping user input

2007-12-19 Thread Jeremy JGR. Grumbach
(and I hope I will have something to post :)) Thanks! Jeremy -Original Message- From: Gary Affonso [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 12:06 AM To: Struts Users Mailing List Subject: Re: Exception Handling keeping user input Jeremy JGR. Grumbach wrote: >

RE: Exception Handling keeping user input

2007-12-18 Thread Jeremy JGR. Grumbach
you looked through the list of interceptors [1] for anything likely? Post a msg if you find one - it sounds useful. regards Adam [1] http://struts.apache.org/2.0.11/docs/struts-defaultxml.html Jeremy JGR. Grumbach on 18/12/07 10:13, wrote: > Thanks also for the answer, > > I'm using Velocit

RE: Exception Handling keeping user input

2007-12-18 Thread Jeremy JGR. Grumbach
perties so you have to some special notation which you see above. I think velocity is more forgiving. Not sure about JSP (I'm still actively trying to avoid it, mostly succeeding). Hopefully that gets you going in the right direction. - Gary Jeremy JGR. Grumbach wrote: > Hi, >

RE: Exception Handling keeping user input

2007-12-18 Thread Jeremy JGR. Grumbach
al opinion, but even that depends on other aspects of system architecture. d. --- "Jeremy JGR. Grumbach" <[EMAIL PROTECTED]> wrote: > Hi, > > Let's take the following scenario: we have a database which manage car > models (for example Dogde Viper). The column &

Exception Handling keeping user input

2007-12-17 Thread Jeremy JGR. Grumbach
Hi, Let's take the following scenario: we have a database which manage car models (for example Dogde Viper). The column "name" of the "car model" table must be unique. The user wants to add a "car model" in the database, thus he has an "add screen" containing all the fields of the "car model" and