You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dean Pullen <de...@msp-uk.com> on 2007/10/11 17:40:09 UTC
Error: dojo is not defined
Ok another one...
I see the dojo is in the core jar, and the dojo head seems to get
defined correctly in the JSP.
Anyone know the resolution to this issue?
Re: Error: dojo is not defined
Posted by ravi_eze <ra...@yahoo.com>.
check if u had <s:head theme="ajax" /> defined in ur jsp <head> tag.
one more thing: explode strruts-core.jar and copy the folder struts in it.
it would contain dojo.. etc files. on including the head tag as said above,
and view source u will find stru
ts is trying to call some .js files. make sure that u get them all from
strus-core.jar (at some path inside) and make it available in the context
... or in other words copy paste it in ur war file.
hope this helps
Dean Pullen-2 wrote:
>
> Ok another one...
>
>
>
> I see the dojo is in the core jar, and the dojo head seems to get
> defined correctly in the JSP.
>
>
>
> Anyone know the resolution to this issue?
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Error%3A-dojo-is-not-defined-tp13158507p14469983.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Error: dojo is not defined
Posted by Dean Pullen <de...@msp-uk.com>.
It helps if you don't have apache loading all static content.
It was taking the request for .js files and running off with 'em...
;)
-----Original Message-----
From: Dean Pullen [mailto:dean.pullen@msp-uk.com]
Sent: 11 October 2007 16:46
To: Struts Users Mailing List
Subject: RE: Error: dojo is not defined
Yes I have, but using Firefox web dev plugin, it shows the JS files as
not loaded.
Looking into further, thanks...
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: 11 October 2007 16:45
To: Struts Users Mailing List
Subject: Re: Error: dojo is not defined
did you set theme="ajax" on your head tag? Are the dojo js files
loaded by the browser?
musachy
On 10/11/07, Dean Pullen <de...@msp-uk.com> wrote:
> Ok another one...
>
>
>
> I see the dojo is in the core jar, and the dojo head seems to get
> defined correctly in the JSP.
>
>
>
> Anyone know the resolution to this issue?
>
>
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Error: dojo is not defined
Posted by Dean Pullen <de...@msp-uk.com>.
Yes I have, but using Firefox web dev plugin, it shows the JS files as
not loaded.
Looking into further, thanks...
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: 11 October 2007 16:45
To: Struts Users Mailing List
Subject: Re: Error: dojo is not defined
did you set theme="ajax" on your head tag? Are the dojo js files
loaded by the browser?
musachy
On 10/11/07, Dean Pullen <de...@msp-uk.com> wrote:
> Ok another one...
>
>
>
> I see the dojo is in the core jar, and the dojo head seems to get
> defined correctly in the JSP.
>
>
>
> Anyone know the resolution to this issue?
>
>
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Error: dojo is not defined
Posted by Musachy Barroso <mu...@gmail.com>.
did you set theme="ajax" on your head tag? Are the dojo js files
loaded by the browser?
musachy
On 10/11/07, Dean Pullen <de...@msp-uk.com> wrote:
> Ok another one...
>
>
>
> I see the dojo is in the core jar, and the dojo head seems to get
> defined correctly in the JSP.
>
>
>
> Anyone know the resolution to this issue?
>
>
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org