you bacported even this into 1.2.2? i thought that was waiting for 1.3 because of api breaks?

-Igor


On 9/11/06, Matej Knopp < [EMAIL PROTECTED]> wrote:
Ajax Header contribution is already working in 1.2.2. Scripts in ajax
response (<script>function() { }</script> should work as well.

If it doesn't work then there might be a problem with ajax header
contribution?

-Matej

Igor Vaynberg wrote:
> this is a browser issue more then anything. it is prety difficult to get
> scripts loaded through ajax to execute. this will be fixed in 1.3 and is
> already implemented in 2.0 with lots of sweat and pain.
>
> meanwhile if you want wicket to execute some _javascript_ you can use
> ajaxtarget.addjavascript(), dont know if it helps your usecase.
>
> -Igor
>
>
> On 9/10/06, *Pierre-Yves Saumont* <[EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]>>
> wrote:
>
>     I eventually figured where the problem was: in IE6, scripts that are
>     contained in Ajax responses seems not to be executed. If I place the
>     script in a component that is loaded normally (not through Ajax),
>     everthing is OK.
>
>     Is this problem a known issue with IE6 ?
>
>     In fact, I noticed some other strange behavior: If I place some HTML
>     code that is to produce a Wicket error, such as <wicket:head> inside a
>     <wicket:panel>, no error is detected if this code is loaded through
>     Ajax. Only if I reload the page (so that everything is loaded normally)
>     is the error detected.
>
>     Pierre-Yves
>
>     Pierre-Yves Saumont a √©crit :
>      > Hello,
>      >
>      > I need to call the onClick event handler containing a Wicket
>     generated
>      > URL from a script. The id of the component holding the onClick event
>      > handler is
>      >
>     "rightColumn_pagePanel_dialogBoxReponses_tabs_panel_dialogBoxContent_confirmLink"
>      >
>      > On first page load, the event handler is:
>      >
>      > >>      >
>     wcall=wicketAjaxGet('/ceagrap/app?wicket:interface=:3:rightColumn:pagePanel:dialogBoxReponses:tabs:panel:dialogBoxContent:outside_partners:0:deleteGraphicButton::IBehaviorListener&wicket:behaviorId=0'
>
>      >
>      > I am calling it as follow:
>      >
>      >
>     document.getElementById("rightColumn_pagePanel_dialogBoxReponses_tabs_panel_dialogBoxContent_confirmLink").onclick();
>      >
>      > This works fine in Firefox but causes an error in IE6:
>      >
>      > ERROR: error while processing response: [object Error].Objet attendu
>      >   INFO: invoking failure handler...
>      >
>      > If I reload the page, the onClick handler change to:
>      >
>      > >>      >
>     wcall=wicketAjaxGet('/ceagrap/app?wicket:interface=:3:rightColumn:pagePanel:dialogBoxReponses:tabs:panel:dialogBoxContent:outside_partners:0:deleteGraphicButton:1:IBehaviorListener&wicket:behaviorId=0'
>      >
>      > and then it works fine event in IE6.
>      >
>      > The only difference between the two handler is:
>      >
>      > ...deleteGraphicButton::IBehaviorListener...
>      > ...deleteGraphicButton:1:IBehaviorListener...
>      >
>      > (Clicking on the link works in any case. Only calling it through
>      > _javascript_ make the first one fail)
>      >
>      > Does anyone know how to solve this problem?
>      >
>      > 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=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>      > _______________________________________________
>      > Wicket-user mailing list
>      > Wicket-user@lists.sourceforge.net
>     <mailto: 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=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto: 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=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=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