Hi!
I have a T5 webapp that has to provide a template page for a payment system,
a page that contains assets like images, css, js files in the layout
component. The template page is just a plain T5 page with a placeholder like
$inject_here$.
The payment system (another website) is taking the template directly from my
web application and than has to inject the payment options into the
placeholder, resulting the payment page.
All is working ok except the assets. They remain relative to the original
webapp so they can't be found on the payment system.

This should be fixed if the assets and links would have an absolute URLs.
I've tried to set the tapestry.force-absolute-uris parameter to true but
seems it doesn't have any effect.

Also I've tried to place a <base> tag in the <head> with the webapp page
location. No luck: with this only the images are showing. Css and Js files
are ignored.

There is a possibility to force Tapestry to generate absolute paths for
assets? Can be done just for specific pages?

Thanks so much,

--Ovidiu

Reply via email to