RE: RE: FW: Iterator: field errors.

2010-12-25 Thread Satheesh Kannan A B
nan A B -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Saturday, December 25, 2010 5:45 AM To: Struts Users Mailing List Subject: Re: RE: FW: Iterator: field errors. Did you /try/ using index notation? If you have no way of referring to a specific element I&

Re: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
; Hi, >> >> Can u please give an example for below of my code >> >> Thanks and Regards, >> >> Satheesh Kannan A B >> >> >> >> -Original Message- >> From: Dave Newton [mailto:davelnew...@gmail.com] >> Sent: Friday, Decem

Re: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
.@gmail.com] > Sent: Friday, December 24, 2010 11:25 PM > To: Struts Users Mailing List > Subject: Re: FW: Iterator: field errors. > > You can if they're indexed, no? > On Dec 24, 2010 12:53 PM, "Satheesh Kannan A B" > wrote: >> Hi, >> >> Still n

RE: FW: Iterator: field errors.

2010-12-24 Thread Satheesh Kannan A B
Hi, Can u please give an example for below of my code Thanks and Regards, Satheesh Kannan A B -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Friday, December 24, 2010 11:25 PM To: Struts Users Mailing List Subject: Re: FW: Iterator: field errors. You can

Re: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
ent: Friday, December 10, 2010 3:14 PM > To: Struts Users Mailing List (user@struts.apache.org) > Subject: Re: Iterator: field errors. > > > Hi, > Generic I have given a pojo class List and am doing validation as a separate method in my action as given below. > List boL

FW: Iterator: field errors.

2010-12-24 Thread Satheesh Kannan A B
not static to use prepare method). Thanks and Regards, Satheesh Kannan A B -Original Message- From: Satheesh Kannan A B Sent: Friday, December 10, 2010 3:14 PM To: Struts Users Mailing List (user@struts.apache.org) Subject: Re: Iterator: field errors. Hi, Generic I have given a pojo

Re: Iterator: field errors.

2010-12-12 Thread Li Ying
>> Since after validation fails the iterator grid also empty I think, you need separate the field names by list index -- since your data model is a list--, to indicate which [textfield] should be captured by which POJO element. And also, you need separate the field name of validation error, t

Re: Iterator: field errors.

2010-12-10 Thread Satheesh Kannan A B
Return false; } } Thanks and Regards, Satheesh Kannan A B -Original Message- From: Li Ying [mailto:liying.cn.2...@gmail.com] Sent: Friday, December 10, 2010 5:35 AM To: Struts Users Mailing List Subject: Re: Iterator: field errors. What is the data type of objectList?

RE: Iterator: field errors.

2010-12-09 Thread Satheesh Kannan A B
Return false; } } Thanks and Regards, Satheesh Kannan A B -Original Message- From: Li Ying [mailto:liying.cn.2...@gmail.com] Sent: Friday, December 10, 2010 5:35 AM To: Struts Users Mailing List Subject: Re: Iterator: field errors. What is the data type of objectList?

Re: Iterator: field errors.

2010-12-09 Thread Li Ying
What is the data type of objectList? How did you execute the validation, and how did you add the field error? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.o

Iterator: field errors.

2010-12-09 Thread Satheesh Kannan A B
Hi, I have a requirement like, am iterating a list of values and populating in a text box. It may be more than 5 rows. I need to validate whether it's an integer and want to display error message below the field. For a normal field with a unique I have done it well. But I don't know how to do f