can you make sure its still broken in 1.3.x branch and if it is create a quickstart.
-igor On Thu, Nov 6, 2008 at 3:25 PM, Sean Brookes <[EMAIL PROTECTED]> wrote: > > I know the recommeded approach is to use relative context URLs for CSS and > Javascript but our application places static assets on a separate server for > performance reasons so relative paths are not an option. From what I > understand if my path starts with "http://" or "https://" wicket should > respect that but it doesn't seem to be working that way for me. > > My code: > > String fullyQualifiedPath = getAssetHost() + > "/tinymce-3-2/jscripts/tiny_mce/tiny_mce.js"; > add(HeaderContributor.forJavaScript(fullyQualifiedPath)); > > Where 'getAssetHost()' returns "http://<asset server host>/assets" so > fullyQalifiedPath = "http://<asset server > host>/assets/tinymce-3-2/jscripts/tiny_mce/tiny_mce.js" > > The problem is that Wicket seems to be prepending the application context to > that value so on the client I get: > "http://<web app server host>/web/app/http://<asset server > host>/assets/tinymce-3-2/jscripts/tiny_mce/tiny_mce.js" > > Can someone shed some light on this for me? > > cheers, > Sean > -- > View this message in context: > http://www.nabble.com/Absolute-URL-problem-with-HeaderContributor-%281.3.4%29-tp20371914p20371914.html > 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]
