Actually the asset url encoding is ultimately delegated to javax.servlet.HTTPServletResponse.encodeURL which just rewrites url if session traking is turned off or your browser does not support cookies. As probably this is not the case it might be a bug in your servlet container.
On 4/17/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
Hello, it's happening something very strange with my demo app. in T4.1.2. I've defined the a border component that contains a call to @Shell like: <component id="shell" type="Shell"> <binding name="title" value="ognl:title"/> <binding name="delegate" value="new org.apache.tapestry.components.BlockRenderer(components.remainingHead)"/> <binding name="renderBaseTag" value="ognl:false" /> <binding name="consoleEnabled" value="ognl:true" /> <binding name="browserLogLevel" value="literal:ERROR"/> <binding name="tapestrySource" value="asset:coreJs"/> <binding name="dojoSource" value="asset:dojoSource"/> <binding name="dojoPath" value="asset:dojoPath"/> </component> <asset name="coreJs" path="/js/core.js"/> <asset name="dojoSource" path="/js/dojo/dojo.js"/> <asset name="dojoPath" path="/js/dojo/"/> the strange thing is that for a page it perfectly work but for another that seems identical (maybe I'm wrong) thigs are rendered like here: <script type="text/javascript">djConfig = {"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/js/dojo/;jsessionid=14BA82F304BF5E5C9C1F84CB52E211A3","preventBackButtonFix":false,"parseWidgets":false,"locale":"en-us"} </script> <script type="text/javascript" src="/js/dojo/dojo.js;jsessionid=14BA82F304BF5E5C9C1F84CB52E211A3"></script> <script type="text/javascript"> dojo.registerModulePath("tapestry", "/asset.svc?path=%2Ftapestry%2F"); </script> <script type="text/javascript" src="/js/core.js;jsessionid=14BA82F304BF5E5C9C1F84CB52E211A3"></script> The attach of jsessionid breaks the page, and I even don't know why it is appended. I'm staled please help. Thx, kiuma