tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4964] - popBody() is called before doEndTag() is called in a BodyTag
Date Tue, 21 May 2002 00:12:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4964>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4964

popBody() is called before doEndTag() is called in a BodyTag

kin-man.chung@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From kin-man.chung@sun.com  2002-05-21 00:12 -------
Upon closer examination of the spec, I am convinced that the current tomcat
implementation in in compliance.

It is true that 10.2 says (page 174)

	"The content of a BodyContent instance remains available until
	after the invocation of its associated doEndBody() method."

However, this does not necessarily imply that popBody() must be called after
doEndTag().  It only means that the content of the body cannot be released until
after doEndBody(), and it can still be accessible (e.g. using getBodyContent())
in popBody().

As further evidence, 10.1.2.4, 2nd paragraph (page 169) says:

	"..., the value of out will be restored using the popBody method
	pageContext, and then doEndTag will be invoked."

so it seems clear to me that doEndTag does indeed follow popBody.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message