RE: RE: FW: Iterator: field errors.

2010-12-25 Thread Satheesh Kannan A B
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'm not sure what else to tell you. Dave On Dec 24

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: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
Users Mailing List (user@struts.apache.org) Subject: Re: Iterator: field errors. Hi, Generic I have given a pojo class ListPojoClassBO and am doing validation as a separate method in my action as given below. ListPojoClassBO boList = new ArrayList PojoClassBO (); Public String save

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: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
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 satheesh.kan...@hcl.com wrote: Hi, Still now I didn't get any solution for this. I think in struts 2.* server side

Re: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
, 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

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, to

Re: Iterator: field errors.

2010-12-10 Thread Satheesh Kannan A B
; } } 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? How did you execute the validation

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

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:

RE: Iterator: field errors.

2010-12-09 Thread Satheesh Kannan A B
; } } 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? How did you execute the validation