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

ictjob group

ictjob.be
Tel: +32 2 725 73 00
Terhulpsesteenweg, 6B
B-1560 Hoeilaart
ictjob.lu
Tel: +352 621 364 792
12, rue Eugène Ruppert
L-2453 Luxembourg
jobtic.fr
Tel: +33 9 81 25 19 66
19 rue Martel
75010 Paris
ticjob.es
Tel: +34 911 25 43 11
Calle Santo Tomé 4, 5B
28004 Madrid
ictjob.de
Tel: +49 711 91 41 07 32
Humboldtstr. 32
70771 Leinfelden-Echterdingen

Reply via email to