Hi Chris,

Well I have already tried using PageRenderLinkSource for getting  the
link"project/details/10871".
Once I get the link I transfrom it to absolute URI and then java.net.URL to
render the specific page( which is not tapestry way).

The PageRenderLinkSource  gives you the link, but we need something to
render it(if am not mistaken).

I cannot use @InjectPage, as my pages to be rendered are decided
dynamically.

Best Regards
Akshay

On Sat, Jan 24, 2015 at 4:15 PM, Chris Poulsen <mailingl...@nesluop.dk>
wrote:

> PageRenderLinkSource or @InjectPage / set fields / return page / rely on
> onPassivate
>
> On Sat, Jan 24, 2015 at 4:10 PM, akshay <akshayestat...@gmail.com> wrote:
>
> > Hi,
> >
> > Can anyone please suggest me a way of redirecting/rendering a page with
> > context from my current page.
> >
> > This what I have been doing:-
> >
> >   @Inject
> >   private ComponentSource componentSource;
> >
> > Object onActivate(){
> >   return componentResources.getPage(getPageName());
> > //This works fine till the time I have valid logical page name such as
> > "/project/index". It fails when I add a context to it such as
> > project/details/10871(which is because I believe it expects only the
> > logical page name(existing in the package) without the context.
> > }
> >
> > I am looking for a tapestry solution for this.Has anyone tried
> > redirecting/rendering to the page with context.
> >
> > --
> > Best Regards!!
> > Akshay
> >
>



-- 
Cheers!!
Akshay

Reply via email to