You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by miro <mi...@yahoo.com> on 2008/11/13 18:54:13 UTC
ajax busy indicator never stops in IE
My page has IndicatingAjaxLink When user clicks on this link the busy
indicator never stops , it works fine in firefox
here some html
<tbody wicket:id="auditInfoContainer"
style="width:100%;height:556;overflow:auto;">
<wicket:container wicket:id="auditInfos">
<tr wicket:id="auditInfo" height="10" >
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</wicket:container>
</tbody>
auditInfo is the link .
I am using wicket 1.3.5
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20485948.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by miro <mi...@yahoo.com>.
I compared the ajax console difference for IE and firefox
the main difference is IE complains about object error
IE console
INFO: Response parsed. Now invoking steps...
ERROR: [object Error] (several of these)
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: last focus id was not set
Firefox console
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: last focus id was not set
please help me understand whjat might cause ERROR: [object Error] in
IE and not in firefox ?
Xhelas wrote:
>
> Thank you for the clue on the clue! There are indeed some likely usefull
> information (with errors on IE7) in the ajax console, but it is not easy
> to understand it. I will compare it with firefox generated logs...
>
>
> igor.vaynberg wrote:
>>
>> why dont you check *why* it is not hiding. ajax console should give you a
>> clue.
>>
>> -igor
>>
>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>>
>>> did nobody faced this problem whats the solution for this ?
>>>
>>> miro wrote:
>>>>
>>>> My page has IndicatingAjaxLink When user clicks on this link the
>>>> busy indicator never stops , it works fine in firefox
>>>>
>>>> here some html
>>>>
>>>> <tbody
>>>> wicket:id="auditInfoContainer"
>>>> style="width:100%;height:556;overflow:auto;">
>>>> <wicket:container
>>>> wicket:id="auditInfos">
>>>> <tr
>>>> wicket:id="auditInfo" height="10" >
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>> </tr>
>>>>
>>>> </wicket:container>
>>>> </tbody>
>>>> auditInfo is the link .
>>>>
>>>> I am using wicket 1.3.5
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20559665.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Miro
Putting the system out print will only confirm that the ajax call are
made from server side, your problem are clientside on IE, somethings not
right with ie.. Could you prepend and append "alert('before')" and after
"alert('before')" to the ajax target..? and tell if both calls are made..?
Probablly
miro wrote:
> did a simple test of this problem
>
>
>
> java code for adding a link
>
> add(new IndicatingAjaxLink("test_link"){
> public void onClick(AjaxRequestTarget target) {
> System.out.println("link clicked");
> target.addComponent(this);
> }
> }.add(new Label("test","click here")));
> }
>
> here is the html
>
> <html>
> <head></head>
> <body>
>
> <label wicket:id="test"/>
>
>
> </body>
> </html>
>
>
>
> ajax debug console
>
> INFO: Using ActiveX transport
> INFO:
> INFO: Initiating Ajax GET request on
> ?wicket:interface=:1:test_link::IBehaviorListener:0:&random=0.018303795903651054
> INFO: Invoking pre-call handler(s)...
> INFO: Received ajax response (1584 characters)
> INFO:
> <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
> encoding="wicket1" ><![CDATA[<head
> xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
> src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
> <script type="text/javascript"
> id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
> wicketAjaxDebugEnable=true;
> /*-->]^]^>*/</script>
>
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
> typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
> /*-->]^]^>*/</script>
>
> </head>]]></header-contribution><component id="test__link2" ><![CDATA[
> <label>click here</label>
>
> resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
> ]]></component></ajax-response>
> INFO: Response parsed. Now invoking steps...
> ERROR: [object Error]
> INFO: Response processed successfully.
> INFO: Invoking post-call handler(s)...
> INFO: last focus id was not set
>
> please help me understand what is going wrong .
>
>
>
> Nino.Martinez wrote:
>
>> Hi Xhelas, you could try installing firefox lite, or the microsoft
>> script debugger.. That should help you pickup whats wrong...
>>
>> You could also try the good old alert debug technique:)
>>
>> Xhelas wrote:
>>
>>> Thank you for the clue on the clue! There are indeed some likely usefull
>>> information (with errors on IE7) in the ajax console, but it is not easy
>>> to
>>> understand it. I will compare it with firefox generated logs...
>>>
>>>
>>> igor.vaynberg wrote:
>>>
>>>
>>>> why dont you check *why* it is not hiding. ajax console should give you
>>>> a
>>>> clue.
>>>>
>>>> -igor
>>>>
>>>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>>>
>>>>
>>>>> did nobody faced this problem whats the solution for this ?
>>>>>
>>>>> miro wrote:
>>>>>
>>>>>
>>>>>> My page has IndicatingAjaxLink When user clicks on this link
>>>>>> the
>>>>>> busy indicator never stops , it works fine in firefox
>>>>>>
>>>>>> here some html
>>>>>>
>>>>>> <tbody
>>>>>> wicket:id="auditInfoContainer"
>>>>>> style="width:100%;height:556;overflow:auto;">
>>>>>>
>>>>>> <wicket:container
>>>>>> wicket:id="auditInfos">
>>>>>> <tr
>>>>>> wicket:id="auditInfo" height="10" >
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>> </tr>
>>>>>>
>>>>>> </wicket:container>
>>>>>> </tbody>
>>>>>> auditInfo is the link .
>>>>>>
>>>>>> I am using wicket 1.3.5
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>
>
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Michael Sparer <mi...@gmx.at>.
I observed this behaviour too, but currently that issue doesn't have the
highest priority for me. I just wanted to give you a hint: I know it was
working in some wicket versions before 1.3.5 maybe it'll be a good start to
have a look at the JS involved and compare it with different wicket versions
... and then come up with a patch :-)
regards,
michael
miro wrote:
>
> i gave the wrong code here again
>
> code to add link
> add(new IndicatingAjaxLink("test_link"){
> public void onClick(AjaxRequestTarget target) {
> System.out.println("link clicked");
> target.addComponent(this);
> }
> });
>
> html to show link
>
> <html xmlns:wicket="http://wicket.apache.org/">
>
> <head></head>
> <body>
>
> # increment
>
> </body>
> </html>
>
> output from ajax debug
>
> INFO: focus removed from wicket-generated-id-0
> INFO: focus set on test__link2
> INFO:
> INFO: Initiating Ajax GET request on
> ?wicket:interface=:3:test_link::IBehaviorListener:0:-1&random=0.39759167481818924
> INFO: Invoking pre-call handler(s)...
> INFO: Received ajax response (1562 characters)
> INFO:
> <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
> encoding="wicket1" ><![CDATA[<head
> xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
> src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
> <script type="text/javascript"
> id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
> wicketAjaxDebugEnable=true;
> /*-->]^]^>*/</script>
>
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
> typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
> /*-->]^]^>*/</script>
>
> </head>]]></header-contribution><component id="test__link2" ><![CDATA[ #
> increment
> resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
> ]]></component></ajax-response>
> INFO: Response parsed. Now invoking steps...
> ERROR: [object Error]
> INFO: Response processed successfully.
> INFO: Invoking post-call handler(s)...
> INFO: Calling focus on test__link2
> INFO: focus set on test__link2
> INFO: focus removed from test__link2
>
>
> please tell me why am i getting ERROR: [object Error] ?
>
> miro wrote:
>>
>> did a simple test of this problem
>>
>>
>>
>> java code for adding a link
>>
>> add(new IndicatingAjaxLink("test_link"){
>> public void onClick(AjaxRequestTarget target) {
>> System.out.println("link clicked");
>> target.addComponent(this);
>> }
>> }.add(new Label("test","click here")));
>> }
>>
>> here is the html
>>
>> <html>
>> <head></head>
>> <body>
>>
>> <label wicket:id="test"/>
>>
>>
>> </body>
>> </html>
>>
>>
>>
>> ajax debug console
>>
>> INFO: Using ActiveX transport
>> INFO:
>> INFO: Initiating Ajax GET request on
>> ?wicket:interface=:1:test_link::IBehaviorListener:0:&random=0.018303795903651054
>> INFO: Invoking pre-call handler(s)...
>> INFO: Received ajax response (1584 characters)
>> INFO:
>> <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
>> encoding="wicket1" ><![CDATA[<head
>> xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
>> src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
>> <script type="text/javascript"
>> src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
>> <script type="text/javascript"
>> src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
>> <script type="text/javascript"
>> id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
>> wicketAjaxDebugEnable=true;
>> /*-->]^]^>*/</script>
>>
>> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
>> var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
>> typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
>> /*-->]^]^>*/</script>
>>
>> </head>]]></header-contribution><component id="test__link2" ><![CDATA[
>> <label>click here</label>
>>
>> resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
>> ]]></component></ajax-response>
>> INFO: Response parsed. Now invoking steps...
>> ERROR: [object Error]
>> INFO: Response processed successfully.
>> INFO: Invoking post-call handler(s)...
>> INFO: last focus id was not set
>>
>> please help me understand what is going wrong .
>>
>>
>>
>> Nino.Martinez wrote:
>>>
>>> Hi Xhelas, you could try installing firefox lite, or the microsoft
>>> script debugger.. That should help you pickup whats wrong...
>>>
>>> You could also try the good old alert debug technique:)
>>>
>>> Xhelas wrote:
>>>> Thank you for the clue on the clue! There are indeed some likely
>>>> usefull
>>>> information (with errors on IE7) in the ajax console, but it is not
>>>> easy to
>>>> understand it. I will compare it with firefox generated logs...
>>>>
>>>>
>>>> igor.vaynberg wrote:
>>>>
>>>>> why dont you check *why* it is not hiding. ajax console should give
>>>>> you a
>>>>> clue.
>>>>>
>>>>> -igor
>>>>>
>>>>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>>>>
>>>>>> did nobody faced this problem whats the solution for this ?
>>>>>>
>>>>>> miro wrote:
>>>>>>
>>>>>>> My page has IndicatingAjaxLink When user clicks on this link
>>>>>>> the
>>>>>>> busy indicator never stops , it works fine in firefox
>>>>>>>
>>>>>>> here some html
>>>>>>>
>>>>>>> <tbody
>>>>>>> wicket:id="auditInfoContainer"
>>>>>>> style="width:100%;height:556;overflow:auto;">
>>>>>>>
>>>>>>> <wicket:container
>>>>>>> wicket:id="auditInfos">
>>>>>>> <tr
>>>>>>> wicket:id="auditInfo" height="10" >
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>>
>>>>>>> <td>
>>>>>>>
>>>>>>>
>>>>>>> </td>
>>>>>>> </tr>
>>>>>>>
>>>>>>> </wicket:container>
>>>>>>> </tbody>
>>>>>>> auditInfo is the link .
>>>>>>>
>>>>>>> I am using wicket 1.3.5
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>>
>
>
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20577814.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by miro <mi...@yahoo.com>.
i gave the wrong code here again
code to add link
add(new IndicatingAjaxLink("test_link"){
public void onClick(AjaxRequestTarget target) {
System.out.println("link clicked");
target.addComponent(this);
}
});
html to show link
<html xmlns:wicket="http://wicket.apache.org/">
<head></head>
<body>
# increment
</body>
</html>
output from ajax debug
INFO: focus removed from wicket-generated-id-0
INFO: focus set on test__link2
INFO:
INFO: Initiating Ajax GET request on
?wicket:interface=:3:test_link::IBehaviorListener:0:-1&random=0.39759167481818924
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (1562 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
encoding="wicket1" ><![CDATA[<head
xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript"
id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]^]^>*/</script>
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
/*-->]^]^>*/</script>
</head>]]></header-contribution><component id="test__link2" ><![CDATA[ #
increment
resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
ERROR: [object Error]
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on test__link2
INFO: focus set on test__link2
INFO: focus removed from test__link2
please tell me why am i getting ERROR: [object Error] ?
miro wrote:
>
> did a simple test of this problem
>
>
>
> java code for adding a link
>
> add(new IndicatingAjaxLink("test_link"){
> public void onClick(AjaxRequestTarget target) {
> System.out.println("link clicked");
> target.addComponent(this);
> }
> }.add(new Label("test","click here")));
> }
>
> here is the html
>
> <html>
> <head></head>
> <body>
>
> <label wicket:id="test"/>
>
>
> </body>
> </html>
>
>
>
> ajax debug console
>
> INFO: Using ActiveX transport
> INFO:
> INFO: Initiating Ajax GET request on
> ?wicket:interface=:1:test_link::IBehaviorListener:0:&random=0.018303795903651054
> INFO: Invoking pre-call handler(s)...
> INFO: Received ajax response (1584 characters)
> INFO:
> <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
> encoding="wicket1" ><![CDATA[<head
> xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
> src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
> <script type="text/javascript"
> src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
> <script type="text/javascript"
> id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
> wicketAjaxDebugEnable=true;
> /*-->]^]^>*/</script>
>
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
> typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
> /*-->]^]^>*/</script>
>
> </head>]]></header-contribution><component id="test__link2" ><![CDATA[
> <label>click here</label>
>
> resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
> ]]></component></ajax-response>
> INFO: Response parsed. Now invoking steps...
> ERROR: [object Error]
> INFO: Response processed successfully.
> INFO: Invoking post-call handler(s)...
> INFO: last focus id was not set
>
> please help me understand what is going wrong .
>
>
>
> Nino.Martinez wrote:
>>
>> Hi Xhelas, you could try installing firefox lite, or the microsoft
>> script debugger.. That should help you pickup whats wrong...
>>
>> You could also try the good old alert debug technique:)
>>
>> Xhelas wrote:
>>> Thank you for the clue on the clue! There are indeed some likely usefull
>>> information (with errors on IE7) in the ajax console, but it is not easy
>>> to
>>> understand it. I will compare it with firefox generated logs...
>>>
>>>
>>> igor.vaynberg wrote:
>>>
>>>> why dont you check *why* it is not hiding. ajax console should give you
>>>> a
>>>> clue.
>>>>
>>>> -igor
>>>>
>>>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>>>
>>>>> did nobody faced this problem whats the solution for this ?
>>>>>
>>>>> miro wrote:
>>>>>
>>>>>> My page has IndicatingAjaxLink When user clicks on this link
>>>>>> the
>>>>>> busy indicator never stops , it works fine in firefox
>>>>>>
>>>>>> here some html
>>>>>>
>>>>>> <tbody
>>>>>> wicket:id="auditInfoContainer"
>>>>>> style="width:100%;height:556;overflow:auto;">
>>>>>>
>>>>>> <wicket:container
>>>>>> wicket:id="auditInfos">
>>>>>> <tr
>>>>>> wicket:id="auditInfo" height="10" >
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>>
>>>>>> <td>
>>>>>>
>>>>>>
>>>>>> </td>
>>>>>> </tr>
>>>>>>
>>>>>> </wicket:container>
>>>>>> </tbody>
>>>>>> auditInfo is the link .
>>>>>>
>>>>>> I am using wicket 1.3.5
>>>>>>
>>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20567987.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by miro <mi...@yahoo.com>.
did a simple test of this problem
java code for adding a link
add(new IndicatingAjaxLink("test_link"){
public void onClick(AjaxRequestTarget target) {
System.out.println("link clicked");
target.addComponent(this);
}
}.add(new Label("test","click here")));
}
here is the html
<html>
<head></head>
<body>
<label wicket:id="test"/>
</body>
</html>
ajax debug console
INFO: Using ActiveX transport
INFO:
INFO: Initiating Ajax GET request on
?wicket:interface=:1:test_link::IBehaviorListener:0:&random=0.018303795903651054
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (1584 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution
encoding="wicket1" ><![CDATA[<head
xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript"
id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]^]^>*/</script>
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
var e = Wicket.$('test__link2--ajax-indicator'); if (e != null &&
typeof(e.parentNode) != 'undefined') e.parentNode.removeChild(e);
/*-->]^]^>*/</script>
</head>]]></header-contribution><component id="test__link2" ><![CDATA[
<label>click here</label>
resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
ERROR: [object Error]
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: last focus id was not set
please help me understand what is going wrong .
Nino.Martinez wrote:
>
> Hi Xhelas, you could try installing firefox lite, or the microsoft
> script debugger.. That should help you pickup whats wrong...
>
> You could also try the good old alert debug technique:)
>
> Xhelas wrote:
>> Thank you for the clue on the clue! There are indeed some likely usefull
>> information (with errors on IE7) in the ajax console, but it is not easy
>> to
>> understand it. I will compare it with firefox generated logs...
>>
>>
>> igor.vaynberg wrote:
>>
>>> why dont you check *why* it is not hiding. ajax console should give you
>>> a
>>> clue.
>>>
>>> -igor
>>>
>>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>>
>>>> did nobody faced this problem whats the solution for this ?
>>>>
>>>> miro wrote:
>>>>
>>>>> My page has IndicatingAjaxLink When user clicks on this link
>>>>> the
>>>>> busy indicator never stops , it works fine in firefox
>>>>>
>>>>> here some html
>>>>>
>>>>> <tbody
>>>>> wicket:id="auditInfoContainer"
>>>>> style="width:100%;height:556;overflow:auto;">
>>>>>
>>>>> <wicket:container
>>>>> wicket:id="auditInfos">
>>>>> <tr
>>>>> wicket:id="auditInfo" height="10" >
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>>
>>>>> <td>
>>>>>
>>>>>
>>>>> </td>
>>>>> </tr>
>>>>>
>>>>> </wicket:container>
>>>>> </tbody>
>>>>> auditInfo is the link .
>>>>>
>>>>> I am using wicket 1.3.5
>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>>
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20567404.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Hi Xhelas, you could try installing firefox lite, or the microsoft
script debugger.. That should help you pickup whats wrong...
You could also try the good old alert debug technique:)
Xhelas wrote:
> Thank you for the clue on the clue! There are indeed some likely usefull
> information (with errors on IE7) in the ajax console, but it is not easy to
> understand it. I will compare it with firefox generated logs...
>
>
> igor.vaynberg wrote:
>
>> why dont you check *why* it is not hiding. ajax console should give you a
>> clue.
>>
>> -igor
>>
>> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>
>>> did nobody faced this problem whats the solution for this ?
>>>
>>> miro wrote:
>>>
>>>> My page has IndicatingAjaxLink When user clicks on this link the
>>>> busy indicator never stops , it works fine in firefox
>>>>
>>>> here some html
>>>>
>>>> <tbody
>>>> wicket:id="auditInfoContainer"
>>>> style="width:100%;height:556;overflow:auto;">
>>>> <wicket:container
>>>> wicket:id="auditInfos">
>>>> <tr
>>>> wicket:id="auditInfo" height="10" >
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>>
>>>> <td>
>>>>
>>>>
>>>> </td>
>>>> </tr>
>>>>
>>>> </wicket:container>
>>>> </tbody>
>>>> auditInfo is the link .
>>>>
>>>> I am using wicket 1.3.5
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>
>
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Xhelas <xh...@yahoo.fr>.
Thank you for the clue on the clue! There are indeed some likely usefull
information (with errors on IE7) in the ajax console, but it is not easy to
understand it. I will compare it with firefox generated logs...
igor.vaynberg wrote:
>
> why dont you check *why* it is not hiding. ajax console should give you a
> clue.
>
> -igor
>
> On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>>
>> did nobody faced this problem whats the solution for this ?
>>
>> miro wrote:
>>>
>>> My page has IndicatingAjaxLink When user clicks on this link the
>>> busy indicator never stops , it works fine in firefox
>>>
>>> here some html
>>>
>>> <tbody
>>> wicket:id="auditInfoContainer"
>>> style="width:100%;height:556;overflow:auto;">
>>> <wicket:container
>>> wicket:id="auditInfos">
>>> <tr
>>> wicket:id="auditInfo" height="10" >
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>>
>>> <td>
>>>
>>>
>>> </td>
>>> </tr>
>>>
>>> </wicket:container>
>>> </tbody>
>>> auditInfo is the link .
>>>
>>> I am using wicket 1.3.5
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20506809.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Igor Vaynberg <ig...@gmail.com>.
why dont you check *why* it is not hiding. ajax console should give you a clue.
-igor
On Fri, Nov 14, 2008 at 6:43 AM, miro <mi...@yahoo.com> wrote:
>
> did nobody faced this problem whats the solution for this ?
>
> miro wrote:
>>
>> My page has IndicatingAjaxLink When user clicks on this link the
>> busy indicator never stops , it works fine in firefox
>>
>> here some html
>>
>> <tbody wicket:id="auditInfoContainer"
>> style="width:100%;height:556;overflow:auto;">
>> <wicket:container wicket:id="auditInfos">
>> <tr wicket:id="auditInfo" height="10" >
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> <td>
>>
>> </td>
>> </tr>
>> </wicket:container>
>> </tbody>
>> auditInfo is the link .
>>
>> I am using wicket 1.3.5
>>
>
> --
> View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by miro <mi...@yahoo.com>.
did nobody faced this problem whats the solution for this ?
miro wrote:
>
> My page has IndicatingAjaxLink When user clicks on this link the
> busy indicator never stops , it works fine in firefox
>
> here some html
>
> <tbody wicket:id="auditInfoContainer"
> style="width:100%;height:556;overflow:auto;">
> <wicket:container wicket:id="auditInfos">
> <tr wicket:id="auditInfo" height="10" >
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> </tr>
> </wicket:container>
> </tbody>
> auditInfo is the link .
>
> I am using wicket 1.3.5
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20501752.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Karol Wiszowaty <ka...@o2.pl>.
The problem is in wicket-ajax.js file. In 1.4-rc1 it is line #1448:
if (typeof(id) == "string" && id.length > 0) {
Change it to:
if ((typeof(id) == "String" || typeof(id) == "string") && id.length > 0) {
and it all works.
Cheers!
miro wrote:
>
> My page has IndicatingAjaxLink When user clicks on this link the
> busy indicator never stops , it works fine in firefox
>
> here some html
>
> <tbody wicket:id="auditInfoContainer"
> style="width:100%;height:556;overflow:auto;">
> <wicket:container wicket:id="auditInfos">
> <tr wicket:id="auditInfo" height="10" >
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> </tr>
> </wicket:container>
> </tbody>
> auditInfo is the link .
>
> I am using wicket 1.3.5
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20665553.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ajax busy indicator never stops in IE
Posted by Xhelas <xh...@yahoo.fr>.
All the same for me with 1.4-rc1.
miro wrote:
>
> My page has IndicatingAjaxLink When user clicks on this link the
> busy indicator never stops , it works fine in firefox
>
> here some html
>
> <tbody wicket:id="auditInfoContainer"
> style="width:100%;height:556;overflow:auto;">
> <wicket:container wicket:id="auditInfos">
> <tr wicket:id="auditInfo" height="10" >
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> <td>
>
> </td>
> </tr>
> </wicket:container>
> </tbody>
> auditInfo is the link .
>
> I am using wicket 1.3.5
>
--
View this message in context: http://www.nabble.com/ajax-busy-indicator-never-stops-in-IE-tp20485948p20496470.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org