Bugs item #1474092, was opened at 2006-04-21 11:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1474092&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: David-S (david-s)
Assigned to: Nobody/Anonymous (nobody)
Summary: onLoad contributed by Panel is not removed

Initial Comment:
<copied from the wicket-user list:>

please make a bug report for this.
Somehow we need to rebuild the onload (and onunload) of
the body tags completely on ever render
i also bounced into this once but i could go around it
by remembering that i already contributed to it.

johan


On 4/21/06, Dave Schoorl <[EMAIL PROTECTED]> wrote:

In my project, I have a WebPage that is build from
various Panels. During the lifetime of the
user-session, Panels get replaced by others, but the
WebPage is always the same Object.

I now have a Panel that uses a third-party application
(a fat javasript app) which needs to be initialized
when the Panel is loaded, hence I set the onLoad-event
in the Panel markup and the onLoad-event gets appended
    to the WebPage's onLoad-event. All nice and well,
but when the Panel is replaced by another, the
onLoad-event is not removed from the WebPage's
onLoad-event. This leads to strange (and very, very
undesirable) effects     when the Panel is added to the
WebPage a second time and the Panel's onLoad event gets
appended to the WebPage's onLoad event that still has
the previous onLoad event.

<...>

We need to clear the Panel's onLoad-event contributed
to the WebPage's onLoad-event when the Panel is removed
from the Page.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1474092&group_id=119783


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to