RE: RE: FW: Iterator: field errors.

2010-12-25 Thread Satheesh Kannan A B
Hi, In below ways I have tried it. List fondsList = new ArrayList< PojoClassBO >(); for (int i = 0; i < fundNr.length && fondFlag; i++) { if (!CommonValidation.isValidFondsAmount(pension[i], new Locale("nl", "NL"))) { addFieldError("pension["+i+"]", getText("amount.error").trim(

Re: Calculate module of index in Struts2 iterator

2010-12-25 Thread Dale Newfield
On Dec 24, 2010, at 1:29 PM, JOSE L MARTINEZ-AVIAL wrote: > Thanks for the advice!! I'll follow it. The best example I forgot to include is when you want to pass in to an attribute a string whose value is the same as the name of one of your action properties. foo="user" can be confusing, but f