Fix ready - let me know if this is clearer now :) https://github.com/apache/struts-site/pull/308
śr., 1 lip 2026 o 06:56 Lukasz Lenart <[email protected]> napisał(a): > > wt., 30 cze 2026 o 20:26 info.flyingfischer.ch via dev > <[email protected]> napisał(a): > > > > Thanks, that is a good documentation, except that > > > > > > @StrutsParameter(depth = 1) was not sufficant > > > > for the case > > > > @StrutsParameter(depth = 1) > > public List<User> getUsers() { > > return users; > > } > > > > in my example, I needed > > > > @StrutsParameter(depth = 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 > Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
