What steps will reproduce the problem?
set the head as : <head> <sj:head jqueryui="true" customBasepath="myCustomBasepath" /> </head>
What is the expected output? What do you see instead?
In the output page I'm expecting to found "myCustomBasepath" on src attributes but the customBasepath seems ignored and the output page it's displayed as follow :
<script type="text/javascript" src="/struts/js/base/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/struts/js/base/jquery-ui-1.7.2.min.js"></script>
the "src" attribute reports standard path (/struts/js/base/) instead of my specified path.
Which struts2 version?
2.1.6
Which struts2-jquery plugin version?
1.8.3
Please provide any additional information below. The customBasepath it's applied on .css references and not on .js references
Comment #1
Posted on Feb 22, 2010 by Swift Lion(No comment was entered for this change.)
Comment #2
Posted on Feb 23, 2010 by Swift LionWhy do you need customBasepath for the *.js files? The customBasepath is for Custome Themeing.
http://code.google.com/p/struts2-jquery/wiki/HeadTag#Custome_Themes
Comment #3
Posted on Feb 23, 2010 by Happy BirdBecause we've different 'war' developed with different Struts versions. All 'war' are sharing the same domain-path but they've a different context-path.
Comment #4
Posted on Mar 1, 2010 by Happy BirdNote : In the old struts-dojo plugin there was a property : "baseRelativePath". This property works fine to manage the above scenario (different 'war' sharing the same domain-path but with a different context-path)
Comment #5
Posted on Apr 15, 2010 by Swift Lionwith 2.1.0 there is a new attribute scriptPath for the head tag. with this you can point to your javascript resources.
Comment #6
Posted on May 1, 2010 by Swift Lion(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium
Component-Plugin
Milestone-2.1.0