Hi Yasser,
i tried, it will exception.
i use this code bellow to get that value, instead for loop:
request.getParameterValues("viewAccess["+i+"]")[0]
this work for me. i’ll update if i got the proper way about this
Thank you
> On 22 Dec 2018, at 15.31, Yasser Zamani wrote:
>
> Hi,
>
> As d
Hi Albert,
The simplest method can be something like this:
public class RegisterAction {
...
public Country getSelectedCountryObject() {
foreach (c in countryList) if(c.countryId==selectedCountry) return c;
}
...
}
Thanks for using Struts.
Kind Regards.
>-Original Message-
>From: alb
2 matches
Mail list logo