This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit 3d6e17ed2c25371a030c5c3969cd862a780a82b1 Author: Lukasz Lenart <[email protected]> AuthorDate: Thu Nov 19 08:09:06 2026 +0100 WW-5820 docs: describe the value-stack check in the ModelDriven fallback Co-Authored-By: Claude Opus 5.5 <[email protected]> --- source/core-developers/struts-parameter-annotation.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/core-developers/struts-parameter-annotation.md b/source/core-developers/struts-parameter-annotation.md index 58f34120f1..c2fde50a6f 100644 --- a/source/core-developers/struts-parameter-annotation.md +++ b/source/core-developers/struts-parameter-annotation.md @@ -153,7 +153,10 @@ made in this order: 3. neither declares it — bound, to keep models that resolve properties through a custom OGNL accessor (a `Map`-backed model, for instance) working. This says nothing about the action: it only means introspection found no member of that - name on either object. + name on either object. Since Struts 7.5.0, if another object further down the + value stack would take the parameter — for example the previous action left + there by a `chain` result — that object is held to the `@StrutsParameter` + requirement instead. Because the model is checked first, a model property that shadows an action property of the same name binds without an annotation, matching how OGNL resolves
