And, if you need that in a service, inject the ComponentEventLinkEncoder service and use its decodePageRenderRequest() method. The returned object has a property which is the name of the requested page.

On Fri, 02 Nov 2012 17:14:35 -0200, Bryan Lewis <jbryanle...@gmail.com> wrote:

What I use:

    @Inject private ComponentResources componentResources;

    /**
     * @return the containing page.
     */
    public BasePage getPage()
    {
        return (BasePage) componentResources.getPage();
    }



On Fri, Nov 2, 2012 at 3:02 PM, o3005659 <o3005...@rtrtr.com> wrote:

How can I simply find out in what page page currently user is?



--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Retrieveing-what-page-user-is-located-in-tp5717615.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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