Hi all,

I'm having a problem with the URLs that Tapestry renders inside an iFrame,
more specific for a Facebook canvas application I'm developing.
When you create a Facebook canvas application, it will be available under
the url http://apps.facebook.com/myapp. That page will include an iFrame
that points to http://my.server.com/app.

Tapestry seems to ender only relative URLs, meaning that all
page/event/action links will be of the form http://my.server.com/app/link,
however I want them to be of the form http://apps.facebook.com/myapp/link.
Because that way, Facebook sends along some additional information that is
needed by my application.

So how do I make Tapestry render all links as absolute links?

I have tried to override the BaseURLSource in my AppModule as follows:

[image: Inline image 1]

I can see that this method is called, but the links are still of the form
http://my.server.com/app/link instead of http://apps.facebook.com/myapp/link
.

I am using Tapestry version 5.3.3.


Regards,
Jelle Van Gompel

Reply via email to