Re: [ANN] Apache Struts 7.2.1
Lukasz Lenart <[email protected]> Wed, 1 Jul 2026 06:56:07 +0200
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkPkZr9uEh32WxS-3m8CRJgQtwqnUz_QSpqMcrn7_zyaOw@mail.gmail.com> |
wt., 30 cze 2026 o 20:26 info.flyingfischer.ch via dev <[email protected]> napisa=C5=82(a): > > Thanks, that is a good documentation, except that > > > @StrutsParameter(depth =3D 1) was not sufficant > > for the case > > @StrutsParameter(depth =3D 1) > public List<User> getUsers() { > return users; > } > > in my example, I needed > > @StrutsParameter(depth =3D 2) > public List<MyObject> getContents() { > return contents; > } > > despite that MyObject contains only flat primitives like > > private String title; > > and the corresponding getter/setters (also annotated). Thanks a lot! You are right, you need 2 because we must access collection and then property of the collection's element as well - I will fix the docs Cheers =C5=81ukasz