How to validate in Struts 1.2.7

2005-09-21 Thread Francisco Antonio Vieira Souza
Considering that nobody saw my big previous message about this subject. I ask you all, does anyone could provide me any example of validation in Struts 1.2.7? (since until now I had no success) ___ Novo Yah

Re: How to validate in Struts 1.2.7

2005-09-21 Thread David Delbecq
This will help you :) don't forget to add validate=true in your struts-config.xml public class MyForm extends ActionForm { public static int MAX =100; private Integer value; public Integer getValue() { return value; } public void setValue(Integer value) { t

Re: How to validate in Struts 1.2.7

2005-09-21 Thread Francisco Antonio Vieira Souza
Thanks a lot my friend, but consider using DynaForm, how could I do that? David Delbecq escreveu: This will help you :) don't forget to add validate=true in your struts-config.xml public class MyForm extends ActionForm { public static int MAX =100; private Integer value; public I

RE: How to validate in Struts 1.2.7

2005-09-21 Thread Harland, David
: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED] Sent: 21 September 2005 10:17 To: Struts Users Mailing List Subject: How to validate in Struts 1.2.7 Considering that nobody saw my big previous message about this subject. I ask you all, does anyone could provide me any example of validation

Re: How to validate in Struts 1.2.7

2005-09-21 Thread Francisco Antonio Vieira Souza
the chapter 12 directory is a lot of examples of how to use the struts validator correctly. Regards Dave. -Original Message- From: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED] Sent: 21 September 2005 10:17 To: Struts Users Mailing List Subject: How to validate in Struts

Re: How to validate in Struts 1.2.7

2005-09-21 Thread Michael Jouravlev
On 9/21/05, Francisco Antonio Vieira Souza <[EMAIL PROTECTED]> wrote: > Ok, thanks but those examples were developed with Struts 1.1, and I am > afraid something has changed in Struts 1.2.7 Not much. Download MailReader Demo application and check out how username and password are validated. By th