lukaszlenart opened a new pull request, #338:
URL: https://github.com/apache/struts-site/pull/338
Rewrites the "value is an Object!" section of the Tag Syntax page.
It claimed that `<s:textfield name="state" value="ca"/>` makes the framework
look for a `getCa` property. It does not: `UIBean.applyValueParameter` resolves
`value` through `Component.findValue(expr, String.class)`, which returns the
literal unless it contains the `%{}` notation (verified with a rendering test
against current `main`). Only `checkbox` (Boolean) and `file` (Object) evaluate
`value` as an expression. The old text contradicted the three-rule summary
further down the same page and is what prompted
[WW-3338](https://issues.apache.org/jira/browse/WW-3338), now closed as Won't
Fix.
Also drops the trailing pointer to the `altSyntax` option, which was removed
in 2.6 (the linked Alt Syntax page says so itself).
Docs-only, no ticket.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]