On Sun, 27 Jan 2013 09:39:36 -0200, John <j...@quivinco.com> wrote:

Suppose I want to pass a parameter like this:
http://somedomain.com/JohnSmith
instead of http://somedomain.com?username=JohnSmith
so the parameter looks like a subdirectory.
Can a tapestry page plus some kind of service hande this?

That's the page activation context: http://tapestry.apache.org/page-navigation.html, specially section "Page Activation".

Basically, on a page class:

void onActivate(String username) {
        // username will get the first parameter in the URL (slash separated)
}

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