Are you using static relative links (a href) somewhere instead of
pagelinks? Your context is not retrieved properly - perhaps you have
httpd in front of your servlet container? Perhaps a shot in the dark
but try to disable relative links:
configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, "true");

Kalle


On Mon, Nov 1, 2010 at 8:22 PM, casey dunham <[email protected]> wrote:
> Hi,
>
> I asked this in the IRC channel earlier tonight, but apparently was
> unable to catch anyone, so hopefully someone can be of help here.
>
> I am deploying a tapestry5 app inside of an iframe. All of my
> pagelinks are being corrupted however. It appears like each time the
> page is revisited (not by pressing the browser back button), the
> context is retrieved and than prepended onto the url again. This keeps
> happeneing so I eventually get URLs like
> http://www.mysite.com/myapp/myapp/group/ instead of
> http://www.mysite.com/myapp/group/
>
> From googling I found an earlier mailing list post that mentioned
> something similar involving the method buildHREF which builds the
> output url. The original poster of that was trying to reset the port I
> think. In that list there was talk of creating a tapestry filter to
> handle the outgoing URLs but I apparently failed at creating a filter
> (can't really figure it out correctly) and based on the documentation
> here (http://tapestry.apache.org/tapestry5.2-dev/guide/url-rewriting.html),
> which I couldn't get to work either. My url rewriting rule doesn't
> seem to ever get applied.
>
> Any help would be greatly appreciated!
>
> Thanks
> Casey
>
> ---------------------------------------------------------------------
> 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]

Reply via email to