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=12591>.
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=12591

Variable declared with scope="AT_END" available within the body of a simple tag

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2002-09-12 23:12 -------
Not a bug. This test case is testing for the presence of a *scoped* as
opposed to a *scripting* variable.

The doTag() implementation of the simple tag handler in this test case
generates the scoped variable before invoking its fragment body (using
getJspBody().invoke()), which explains why that variable is visible
within the fragment body (using an EL expression).

In addition, the doTag() implementation adds the variable to the
fragment parameter map, which is an additional reason why it can be
accessed in the fragment body (per the spec, "for each key present in
the Map, the fragment must make a page scope variable available to the
fragment body, so that the parameters can be accessed via the
Expression Language or via other mechanisms").

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to