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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to