Closed spring-projects-issues closed 12 years ago
Mark Smith commented
I forgot to point out that form field tags (form:input, etc). work fine spread across child JSPs but only the form:errors do not. The more I think about it the more I'm convinced this enforcement must be dropped.
Rick Evans commented
Fixed. The ErrorsTag no longer does an explicit check... I guess folks will have to read the documentation that states that the \
Thanks for taking the time to report this.
Mark Smith opened SPR-2775 and commented
The assertion in ErrorsTag.java: onWriteTagContent() is assuming that the form:form tag is in the same document as the one being processed. This effectively disallows JSP nesting and reuse when it is necessary to have the form:form tag outside the nested page.
I'm not sure if this really IS a bug. I know it is a safety mechanism but the case can also be made it gets in the way.
Affects: 2.0 final
Issue Links:
7441 tag cannot be used in jspf (fragment) compilation units, where no tag exists, even though it would work. ("depends on")