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.

Is this behaviour I could expect given the situation or is this a bug?
What is the best way for me to clear the Panel's onLoad-event from the
WebPage's onLoad-event when the Panel is removed from the Page?

Thanks in advance and best regards,

Dave




-------------------------------------------------------
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-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to