I think this was resolved in more recent versions. You could probably
replace your AjaxShellDelegate with something from 4.1.2 or just
upgrade to 4.1.2..

On 1/24/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
Hi Everyone

I am trying to deploy a tapestry 4.1 application into a production
environment (on Tomcat 5.5). When the Tapestry Shell component injects
the various dojo scripts into my pages it uses an absolute URL using the
server IP address and port, there must be a way to switch this off and
use a relative path instead.

For Example:
<script type="text/javascript">
    djConfig = { isDebug: true, debugContainerId:'debug',
baseRelativePath:"http://192.168.51.33:8080/IRM/app?service=asset&path=%2Fdojo%2F";,
         preventBackButtonFix: false, parseWidgets: false };
</script>
 <script type="text/javascript"
src="http://192.168.51.33:8080/IRM/app?service=asset&path=%2Fdojo%2Fdojo.js";></script>
<script type="text/javascript"
src="http://192.168.51.33:8080/IRM/app?service=asset&path=%2Ftapestry%2Fcore.js";></script>

to become something similar to this:
<script type="text/javascript">
    djConfig = { isDebug: true, debugContainerId:'debug',
baseRelativePath:"/IRM/app?service=asset&path=%2Fdojo%2F",
preventBackButtonFix: false, parseWidgets: false };
</script>
 <script type="text/javascript"
src="/IRM/app?service=asset&path=%2Fdojo%2Fdojo.js"></script>
<script type="text/javascript"
src="/IRM/app?service=asset&path=%2Ftapestry%2Fcore.js"></script>

Thanks
Peter




--
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Please visit http://www.albourne.com/email.html for important 
additional terms relating to this e-mail.



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




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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

Reply via email to