"wicketAjaxGet is not defined" javascript error }

2012-06-12 Thread vaibhav2012
Hi,

I am new to apache wicket.
I have added an ajaxLink to my wicket page.
But i am not able to capture the onClick event of this link.
The problem is coming because of JS error "wicketAjaxGet is not defined" as
monitored from firebug.

Please help me where i am getting wrong.

I am attaching the rendered html for the page.

Thanks,

Vaibhav.
http://apache-wicket.1842946.n4.nabble.com/file/n4649869/Page.html Page.html 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketAjaxGet-is-not-defined-javascript-error-tp4649869.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "wicketAjaxGet is not defined" javascript error }

2012-06-12 Thread vaibhav2012
I was able to resolve it.
Actually javascript was getting loaded because of my security settings.
I bypassed the security settings for javascripts and it worked :)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketAjaxGet-is-not-defined-javascript-error-tp4649869p4649874.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketAjaxGet is not defined.. javascript error

2007-12-03 Thread narend

Just a quick update.
I followed Matej's advice  & tried this after an upgrade to wicket 1.3
It works for me now!!
Thanks a lot for your assistance Matej


narend wrote:
> 
> Thanks Matej!
> I think I will try upgrading to 1.3 & will let you all you know if that
> solved it.
> On a related note.. I found a post with the same problem as mine. I
> hard-coded the ajax script in the header like the post suggested and it
> solved the issue. But hard-coding is not a real long-term solution for me
> though.
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg30896.html
> 
> 
> Matej Knopp-2 wrote:
>> 
>> Looks like a bug in 1.2.6. Can you upgrade to 1.3?
>> 
>> -Matej
>> 
>> On Nov 28, 2007 9:29 PM, narend <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi folks
>>> I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The
>>> AjaxSubmitLink works fine when I first access the page, but when I
>>> navigate
>>> away from the page and try the AjaxSubmitLink again, I get a javascript
>>> error. When I refresh the page, the AjaxSubmitLink works fine again.
>>>
>>> Javascript error : "wicketAjaxGet is not defined"
>>>
>>> I took a look at the page source when I receive the error. The ajax
>>> javascript (see below) are missing in the header when I get the error.
>>> When
>>> I refresh the page, the ajax javascript is back in the header.
>>>
>>> JavaScript snippet from the header of page:
>>> >> src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js">
>>> >> src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js">
>>> >> src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js">
>>>
>>> Is this a bug in wicket 1.2.6? Or is anyone familiar with  a fix to
>>> this?
>>> I did a search in the forums but I did not find a solution to this
>>> problem
>>>
>>> fyi... I inject the CSS for the page using HeaderContributor
>>> Let me know if you need more information while I take a crack at this
>>> issue
>>> in the meantime
>>> --
>>> View this message in context:
>>> http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14008494
>>> 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]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14132131
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketAjaxGet is not defined.. javascript error

2007-11-30 Thread narend

Thanks Matej!
I think I will try upgrading to 1.3 & will let you all you know if that
solved it.
On a related note.. I found a post with the same problem as mine. I
hard-coded the ajax script in the header like the post suggested and it
solved the issue. But hard-coding is not a real long-term solution for me
though.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg30896.html


Matej Knopp-2 wrote:
> 
> Looks like a bug in 1.2.6. Can you upgrade to 1.3?
> 
> -Matej
> 
> On Nov 28, 2007 9:29 PM, narend <[EMAIL PROTECTED]> wrote:
>>
>> Hi folks
>> I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The
>> AjaxSubmitLink works fine when I first access the page, but when I
>> navigate
>> away from the page and try the AjaxSubmitLink again, I get a javascript
>> error. When I refresh the page, the AjaxSubmitLink works fine again.
>>
>> Javascript error : "wicketAjaxGet is not defined"
>>
>> I took a look at the page source when I receive the error. The ajax
>> javascript (see below) are missing in the header when I get the error.
>> When
>> I refresh the page, the ajax javascript is back in the header.
>>
>> JavaScript snippet from the header of page:
>> > src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js">
>> > src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js">
>> > src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js">
>>
>> Is this a bug in wicket 1.2.6? Or is anyone familiar with  a fix to this?
>> I did a search in the forums but I did not find a solution to this
>> problem
>>
>> fyi... I inject the CSS for the page using HeaderContributor
>> Let me know if you need more information while I take a crack at this
>> issue
>> in the meantime
>> --
>> View this message in context:
>> http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14008494
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14075110
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketAjaxGet is not defined.. javascript error

2007-11-28 Thread Matej Knopp
Looks like a bug in 1.2.6. Can you upgrade to 1.3?

-Matej

On Nov 28, 2007 9:29 PM, narend <[EMAIL PROTECTED]> wrote:
>
> Hi folks
> I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The
> AjaxSubmitLink works fine when I first access the page, but when I navigate
> away from the page and try the AjaxSubmitLink again, I get a javascript
> error. When I refresh the page, the AjaxSubmitLink works fine again.
>
> Javascript error : "wicketAjaxGet is not defined"
>
> I took a look at the page source when I receive the error. The ajax
> javascript (see below) are missing in the header when I get the error. When
> I refresh the page, the ajax javascript is back in the header.
>
> JavaScript snippet from the header of page:
>  src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js">
>  src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js">
>  src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js">
>
> Is this a bug in wicket 1.2.6? Or is anyone familiar with  a fix to this?
> I did a search in the forums but I did not find a solution to this problem
>
> fyi... I inject the CSS for the page using HeaderContributor
> Let me know if you need more information while I take a crack at this issue
> in the meantime
> --
> View this message in context: 
> http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14008494
> 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]



wicketAjaxGet is not defined.. javascript error

2007-11-28 Thread narend

Hi folks
I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The
AjaxSubmitLink works fine when I first access the page, but when I navigate
away from the page and try the AjaxSubmitLink again, I get a javascript
error. When I refresh the page, the AjaxSubmitLink works fine again.

Javascript error : "wicketAjaxGet is not defined"

I took a look at the page source when I receive the error. The ajax
javascript (see below) are missing in the header when I get the error. When
I refresh the page, the ajax javascript is back in the header.

JavaScript snippet from the header of page:




Is this a bug in wicket 1.2.6? Or is anyone familiar with  a fix to this?
I did a search in the forums but I did not find a solution to this problem

fyi... I inject the CSS for the page using HeaderContributor
Let me know if you need more information while I take a crack at this issue
in the meantime
-- 
View this message in context: 
http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14008494
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]