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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]