Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
I think the issue I am having is due to the theme, I had old checkboxlist.ftl code. Once it is updated to the latest code it is working well. The only change I make in it is show each checkbox in a separate line. Appreciate all the help. Thanks, Prasanth On 2/6/19 9:31 AM, Prasanth Pasala

Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
So there is no need to add MultiselectInterceptor in the action definition? Below is the checkboxlist in the jsp. accountNames map is in the account to provide the list values and names. Thanks, Prasanth On 2/6/19 8:53 AM, Yasser Zamani wrote: > Ach! Sorry, you're right. For checkbox list

RE: Struts2 Checkboxlist

2019-02-06 Thread Yasser Zamani
Ach! Sorry, you're right. For checkbox list it's MultiselectInterceptor class which handles this and here it works with following config: List selectedLongs= new ArrayList<>(); public List getLongs(){ List longs= new ArrayList<>(); longs.add(0L);