Which can be shortened to:
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
public ILink redirect(IPage page)
{
IRequestCycle cycle = getRequestCycle();
return getPageService().getLink(cycle, false, getPageName());
}
On 9/5/05, Pete <[EMAIL PROTECTED]> wrote:
> Will this help?
>
> [snip]
>
> @InjectObject("engine-service:page")
> public abstract IEngineService getPageService();
>
> public void redirect(IPage page)
> {
> IRequestCycle cycle = getRequestCycle();
> Object param = page.getPageName();
> ILink link = getPageService().getLink(cycle, false, param);
>
> throw new RedirectException(link.getURL());
> }
>
> [snip]
>
>
>
> On Mon, 05 Sep 2005 10:12:27 +0200, Mohammad Hassan Shamsi
> <[EMAIL PROTECTED]> wrote:
>
> > Jone.hwk wrote:
> >
> >> However,in tapetry4,in rendered page "actived" by "throw a
> >> PageRedirectException",you'll see all unicode characters("utf-8")
> >> coming into "????"
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> > Hi .
> >
> > Beacuse of Back and Froward, i neeed to use Redirect Page.
> > Please help me.
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]