On Fri, 10 May 2013 21:15:18 -0300, Taha Hafeez Siddiqi <tawus.tapes...@gmail.com> wrote:

Hi

@PageActivitationContext and @Persist are two ways to persist data across requests. So they are mutually exclusive.

@PageActiviationContext adds the data as a context to the url while @Persist saves it in session(or cookie). You should always prefer the former and avoid the latter.

Regarding speed, there isn't be any substantial difference.

Can you share some code so we can see what you are trying to do.

BTW sorry for the wrong pointer, I have been using URL-rewriting a lot these days :)

regards
Taha

On 11-May-2013, at 5:32 AM, Nomer Nominus <tapestr...@outlook.com> wrote:

Hi! Thanks, @PageActivationContext annotation worked like a charm for this issue. However, one more thing concerns me about this. Since I have @Persist and @PageActivationContext over some property, does this require more round times for connection and with it is slower than without using it?

Date: Fri, 10 May 2013 05:34:14 -0700
From: ml-node+s1045711n5721360...@n5.nabble.com
To: tapestr...@outlook.com
Subject: Re: Creating specific url link for specific object



        On Fri, 10 May 2013 08:51:24 -0300, Taha Siddiqi

<[hidden email]> wrote:


Please go through http://tapestry.apache.org/url-rewriting.html.


Actually, read this: http://tapestry.apache.org/page-navigation.html,

specially the "Page Activation" section. No URL rewriting needed. Just use

the page activation context to pass the id of the article, so your page

knows which one to show.


--

Thiago H. de Paula Figueiredo


---------------------------------------------------------------------

To unsubscribe, e-mail: [hidden email]

For additional commands, e-mail: [hidden email]




        
        
        
        

        

        
        
If you reply to this email, your message will be added to the discussion below:
                
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Creating-specific-url-link-for-specific-object-tp5721353p5721360.html
        
        
                
                To unsubscribe from Apache Tapestry Mailing List Archives, 
click here.

                NAML
                                                


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



--
Thiago H. de Paula Figueiredo

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

Reply via email to