Hi,

I came across some code that consists of a Index.java page and a index.tml
page. In the index.java page we have 

Object onActivate(String... vals)
{
        return new HttpError(HttpServletResponse.SC_NOT_FOUND, "Page Not
Found");
}

now this is real magic. If i sat mycontext/index thats fine, but if i say
mycontext/indexxaasa this code executes. How is this possible? Why is the
function only called when tapestry truncates the URL ?

Kind Regards



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/using-onActivate-to-see-if-this-is-the-correct-page-tp5717931.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

Reply via email to