On Thu, 23 Sep 2010 04:43:28 +0200, asianCoolz
wrote:
IEngineService pageService = getPageService();
String pageName = "NextTapestryPage";
ILink link = pageService.getLink(false, pageName);
throw new RedirectException(link.getAbsoluteURL());
if page is IPage, and i set parameter
IEngineService pageService = getPageService();
>String pageName = "NextTapestryPage";
>ILink link = pageService.getLink(false, pageName);
>throw new RedirectException(link.getAbsoluteURL());
if page is IPage, and i set parameter to the page.setExtraParameter(abc);
how to get absoluteu
throw new RedirectException(link.getAbsoluteURL());
}
You also need to inject the page service in your page/component class:
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
On Wed, 22 Sep 2010 12:00:10 +0200, asianCoolz
wrote:
with throw new P
http://tapestry.apache.org/tapestry5/guide/pagenav.html
2010/9/22 asianCoolz
> with throw new PageRedirectException("NextTapestryPage"); , i was redicectd
> to
> another page, but the url on the browser address bar is not change. is
> there
> any method i can ca
with throw new PageRedirectException("NextTapestryPage"); , i was redicectd to
another page, but the url on the browser address bar is not change. is there
any method i can call "forward", so that use '