Hello, We are using Struts 2.3.1.2 and have noticed a strange behavior in component parameter handling: We have a component that uses both an "id" parameter and a "title" parameter. What is strange is that when we use s:component, the "title" parameter value can either be specified using the "title" attribute of s:component or a s:param. The "id" parameter value can only be specified using the "id" attribute of s:component. Using the s:param for "id" has no effect. There seems to be no pertinent explanation for this behavior in the documentation and I was wondering if this behavior would evolve in further versions. We are currently using s:param to specify our numerous "title" parameters and hope that it will always be possible in the future. Could anyone shed some light on this inconsistent behavior? Best regards, --
Thim Anneessens
IT Department ![]()
|
- Inconsistency in Struts2 s:component parameters handling Thim Anneessens
- Re: Inconsistency in Struts2 s:component parameters h... Thim Anneessens
- RE: Inconsistency in Struts2 s:component paramete... Martin Gainty
- Re: Inconsistency in Struts2 s:component para... Thim Anneessens
- RE: Inconsistency in Struts2 s:component ... Martin Gainty
- Re: Inconsistency in Struts2 s:component parameters h... Lukasz Lenart
- Re: Inconsistency in Struts2 s:component paramete... Lukasz Lenart