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

Iteration tags do not resynchronize scripting variables after doAfterBody()





------- Additional Comments From [EMAIL PROTECTED]  2002-08-15 03:35 -------

Thanks. 

By the way if BodyTag.doStartTag() returns EVAL_BODY_INCLUDE then
scripting variables won't be synchronized for the first iteration.
I tried it.

Take a look at the if statement.

> if (_jspx_eval_mytags_body_0 != Tag.EVAL_BODY_INCLUDE) {

This will be false, so setting up the body content will be 
skipped (correct) AND synchronizing the variables will ALSO 
be skipped (incorrect).

In this case the first time the variable would be synchronized would be
after doAfterBody(). On the first iteration of the loop this would probably
throw a NullPointerException if you tried to use varAtBegin or varNested
inside the body of the tag.

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

Reply via email to