t5: urlrewrite and grid pager's link

2009-10-05 Thread Angelo Chen
Hi, I use following code to rewrite http://localhost:8080/mylist to http://localhost:8080/internallist/X this works, however the page has a grid, so the pagination's link does not change, I still get: /internallist.grid.pager/2?t:ac=X any idea how to change the pager's link as well? Thanks.

Re: t5: urlrewrite and grid pager's link

2009-10-05 Thread Robert Zeigler
Sure. Make your rule rewrite both inbound and outbound. The outbound refers to links created by tapestry, so you have an opportunity to rewrite the urls that go out to the client. Just make sure to properly convert them back to tapestry-understood urls when they come back in. You can

Re: t5: urlrewrite and grid pager's link

2009-10-05 Thread Angelo Chen
Hi Robert, Thanks, looking at that outbound link, I just don't know how to form a link to a grid's pager: from this: /internallist.grid.pager/2?t:ac=X change to: /mylist:grid.pager/2?t:ac=X seems not working. Robert Zeigler wrote: Sure. Make your rule rewrite both inbound and