Re: @StrutsParameter
Lukasz Lenart <[email protected]> Sun, 14 Sep 2025 15:25:25 +0200
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkN3q7otksfksVdWRVk2WcgkN5V1hMN5-m85meuRMfokxw@mail.gmail.com> |
czw., 21 sie 2025 o 19:18 Prasanth <[email protected]> napisa=C5=82= (a): > Is the struts parameter tag supposed to be on setXXX method or getXXX met= hod for a check box list when the argument is Vector/ArrayList?. We have ol= d code that takes the data as a vector, for this we > have the parameter on the getXXX and it works well. For another action th= at has ArrayList as parameter we had to move it from the getXXX to setXXX f= or it to work. We had to annotate the getXXX methods > when the argument is a map, with depth of 1. > > Is Vector handled differently than ArrayList when injecting parameter val= ues? Not sure if I understood your question, could write an example code and pos= t it? Cheers =C5=81ukasz