This will probably help:

        T5.4: 
http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/returntypes1
        T5.3: 
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntypes1

Cheers,

Geoff

On 25 Jan 2015, at 4:43 am, Chris Poulsen <mailingl...@nesluop.dk> wrote:

> return the link from the handler and tapestry will redirect/render it
> 
> On Sat, Jan 24, 2015 at 5:05 PM, akshay <akshayestat...@gmail.com> wrote:
> 
>> 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
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to