|
From: <jue...@we...> - 2004-12-07 11:40:05
|
Seth,
I've just tried the following on Resin 2.1.11 and Tomcat 5.0.27, and it =
works for me:
<spring:nestedPath path=3D"person">
<%=3D nestedPath %>
<spring:nestedPath path=3D"addresses[0]">
<%=3D nestedPath %>
<spring:bind path=3D"street">
Street: <input type=3D"text" name=3D"<%=3D =
status.getExpression() %>" value=3D"<%=3D status.getValue() %>">
</spring:bind>
<%=3D nestedPath %>
</spring:nestedPath>
<%=3D nestedPath %>
</spring:nestedPath>
Resin doesn't reset the nestedPath variable value to "person." again =
after the end of the inner nestedPath tag, but Tomcat does even that...
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Seth Ladd
Sent: Tuesday, December 07, 2004 12:37 AM
To: spr...@li...
Subject: [Springframework-developer] Nested <spring:nestedPath> Tags in
Tomcat 5.0.29
Just a head's up,
It appears that Tomcat 5.0.27 and 5.0.29 (at least) don't support
nested tags of the same type that export the same variable (as defined
in the .tld file).
The Jasper JspC compiler generates Java source code that can't be
compiled. There is a variable that is out of scope of the location
it's being used. I've tried different <variable> <scope>'s just in
case.
Removing the <variable> element from the .tld for the nestedPath tag
fixes the problem. I don't think that element is deprecated quite
yet, but it sounds like it's only there for scriptlets.
I've filed a bug report with Tomcat, so we'll see where that goes.
Any others attempt to use a nested <spring:nestedPath> tag? Any luck?
Thanks,
Seth
--=20
<a href=3D"http://www.picklematrix.net/foaf.rdf">Seth Ladd's FOAF</a>
<a href=3D"http://www.foaf-project.org/">What is FOAF?</a>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.=20
http://productguide.itmanagersjournal.com/
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|