Re: [Wicket-user] Problem with Javascript function calls in AJAX loaded document with IE6

2006-08-09 Thread Matej Knopp
The problem here probably is that outerHTML in explrer doesn't execute 
the javascript located in the replacement string.

Current svn version should fix this (as well as header contribution), so 
please try it and let us know whether it does work.

-Matej

Pierre-Yves Saumont wrote:
 Hello,
 
 I have an AJAX tabbed panel that works smoothly except for one little 
 thing.
 
 The first tab contains a form with an OnSubmit event handler. For 
 testing purpose, the handler is as follow :
 
 onsubmit=alert('On Submit');return alertOnSubmit('alertOnSubmit')
 
 The alertOnSubmit function just display it's argument in an alert box. 
 Everything works fine.
 
 Now, if I fut the same form in the second tab (which is then loaded 
 through AJAX), the event handler works fine in Firefox. However, in IE6, 
 the first alert box is displayed, but the second is not.
 
 I made several tests, putting the script in various places. Results are 
 as follow :
 
 - When in first tab, everything works wherever the script is located.
 
 - When in second tab (AJAX loaded), it does not work if the script is 
 located in the tab. It works only if the script is in the rest of the page.
 
 Does someone know if there is way to make IE6 use the scripts loaded 
 through AJAX ?
 
 BTW, the Ajax Debug Window is really cool. It would be even cooler if it 
 could be resized. (And also is IE6 dropdown lists would not display on 
 top of it, but there is probably not much to do about this except 
 waiting for IE7 :-(
 
 Pierre-Yves
 
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Problem with Javascript function calls in AJAX loaded document with IE6

2006-08-08 Thread Pierre-Yves Saumont
Hello,

I have an AJAX tabbed panel that works smoothly except for one little 
thing.

The first tab contains a form with an OnSubmit event handler. For 
testing purpose, the handler is as follow :

onsubmit=alert('On Submit');return alertOnSubmit('alertOnSubmit')

The alertOnSubmit function just display it's argument in an alert box. 
Everything works fine.

Now, if I fut the same form in the second tab (which is then loaded 
through AJAX), the event handler works fine in Firefox. However, in IE6, 
the first alert box is displayed, but the second is not.

I made several tests, putting the script in various places. Results are 
as follow :

- When in first tab, everything works wherever the script is located.

- When in second tab (AJAX loaded), it does not work if the script is 
located in the tab. It works only if the script is in the rest of the page.

Does someone know if there is way to make IE6 use the scripts loaded 
through AJAX ?

BTW, the Ajax Debug Window is really cool. It would be even cooler if it 
could be resized. (And also is IE6 dropdown lists would not display on 
top of it, but there is probably not much to do about this except 
waiting for IE7 :-(

Pierre-Yves


-
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with Javascript function calls in AJAX loaded document with IE6

2006-08-08 Thread Eelco Hillenius
Did you check that the header contribution is actually done? And do
you work on the svn version of 1.2 (as that is where the change for
dynamic header contribution for ajax was put in... it's not in 1.2.1
yet)?

B.t.w. before you rush out and try the svn version, there currently is
a bug that prevents ajax to work at all (see my post to dev an hour
ago). Hopefully that'll be fixed later today.

Eelco


On 8/8/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hello,

 I have an AJAX tabbed panel that works smoothly except for one little
 thing.

 The first tab contains a form with an OnSubmit event handler. For
 testing purpose, the handler is as follow :

 onsubmit=alert('On Submit');return alertOnSubmit('alertOnSubmit')

 The alertOnSubmit function just display it's argument in an alert box.
 Everything works fine.

 Now, if I fut the same form in the second tab (which is then loaded
 through AJAX), the event handler works fine in Firefox. However, in IE6,
 the first alert box is displayed, but the second is not.

 I made several tests, putting the script in various places. Results are
 as follow :

 - When in first tab, everything works wherever the script is located.

 - When in second tab (AJAX loaded), it does not work if the script is
 located in the tab. It works only if the script is in the rest of the page.

 Does someone know if there is way to make IE6 use the scripts loaded
 through AJAX ?

 BTW, the Ajax Debug Window is really cool. It would be even cooler if it
 could be resized. (And also is IE6 dropdown lists would not display on
 top of it, but there is probably not much to do about this except
 waiting for IE7 :-(

 Pierre-Yves


 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user