struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Struts Two <struts...@yahoo.ca>
Subject Re: Dojo trouble after upgrade
Date Thu, 17 Sep 2009 18:27:47 GMT
Dojo has been moved to a plugin in struts 2.1. There are more information on this on the struts
2 wiki site.

You are much better of using dojo natively than the plugin [which you can call it an old hag
now :) ]

--- On Thu, 9/17/09, Scott Nesbitt <scottnesbitt@yahoo.com> wrote:

> From: Scott Nesbitt <scottnesbitt@yahoo.com>
> Subject: Dojo trouble after upgrade
> To: user@struts.apache.org
> Received: Thursday, September 17, 2009, 5:03 PM
> 
> I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing
> trouble with Dojo files.
> 
> Before upgrade:
> 
> <script type="text/javascript"  
> src="../struts/simple/dojoRequire.js"></script>
> 
> After upgrade:
> 
> <script 
> language="JavaScript" type="text/javascript"  
> src="/myApp/struts/ajax/dojoRequire.js"></script>
> 
> 
> Somehow "/myApp" is getting inserted into thepath instead
> of ".."
> 
> Anybody know of how this replacement happens?  Is
> there a way to make it use the relative pathing?
> 
> Thanks for any tips or pointers.
> 
> Scott
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message