Re: [ANN] Apache Struts 7.2.1

Lukasz Lenart <[email protected]> Wed, 1 Jul 2026 07:05:15 +0200
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkPLUEkY3-Jtu2zOuOe2opFsme6QH9de+L8x2iPgY-fapw@mail.gmail.com>
Fix ready - let me know if this is clearer now :)
https://github.com/apache/struts-site/pull/308

=C5=9Br., 1 lip 2026 o 06:56 Lukasz Lenart <[email protected]> napisa=
=C5=82(a):
>
> 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