On Thu, 23 Sep 2010 04:43:28 +0200, asianCoolz <second_co...@yahoo.com>
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 to the page.setExtraParameter(abc);
how to get absoluteurl for this IPage? rathan than "string" that you
suggested
for pageName.
I haven't used Tapestry 4 for a while, but I'm pretty sure that you can
pass all the parameters to getLink(...) in an array, starting with the
page name:
IPage page = ...;
Object abc = ...;
String pageName = page.getName();
ILink link = pageService.getLink(false, new Object[] {pageName, abc,
moreParameters(), etc} );
throw new RedirectException(link.getAbsoluteURL());
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org