[ tapestry-Bugs-673665 ] isRewinding incorrect in pageEndRender Event
"SourceForge.net" <[email protected]> Thu, 23 Jan 2003 15:05:16 -0800
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #673665, was opened at 2003-01-23 17:05
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=673665&group_id=4754
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Everman (eeverman)
Assigned to: Nobody/Anonymous (nobody)
Summary: isRewinding incorrect in pageEndRender Event
Initial Comment:
During a rewind, cycle.isRewinding returns true until
just *before* the pageEndRender event is fired. This
seems incorrect, since the page may need to initialize
or cleanup in the render events and pageEndRender will
*always* return isRewinding as false.
From RequestCycle.rewindForm(IForm, targetActionId), I
would suggest changing the finally clause from:
finally {
_rewinding = false;
_actionId = 0;
_targetActionId = 0;
_targetComponent = null;
page.endPageRender();
}
to:
finally {
_actionId = 0;
_targetActionId = 0;
_targetComponent = null;
page.endPageRender();
_rewinding = false;
}
Eric Everman
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=673665&group_id=4754
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com