开发者

How can I override the URL writing mechanism for .script <include-script> tags in Tapestry 4?

开发者 https://www.devze.com 2023-01-28 21:02 出处:网络
Previously on StackOverflow, I wrote this question where I asked how to append a build number parameter to the generated URLs for Tapestry assets to solve caching problems. I ultimately answered my ow

Previously on StackOverflow, I wrote this question where I asked how to append a build number parameter to the generated URLs for Tapestry assets to solve caching problems. I ultimately answered my own question: replace Tapestry's default asset source with a custom one w开发者_C百科hich wraps the generated assets to tack on the build number. But I've found out that .js files imported by the <include-script> tag in .script files are not using this mechanism and are therefore not getting the build number on them. So I'd like to accomplish the same objective with them. How?

0

精彩评论

暂无评论...
验证码 换一张
取 消