Hi again,
thanks for help. I have look at bug report that you have entered (https://issues.apache.org/jira/browse/TAP5-879
).
I have tested it. When I don't have "onActivate" method in my
Index.java file and user tries access not existing page then Index is
normally shown. Maybe it could be added to bug description.
Another problem for me was inconsistent behavior of raising exception.
When I call "response.sendError(404, null);" in my Index.onActivate
(String pageUrl) it throws an exception. This exception is thrown just
on Tomcat version 6. It works correctly at jetty and Tomcat 5
(confirmed by Kalle). From my point of view it's a bug. My working
environment is described in my first email.
How do you handle "page not found" event?
thanks
Jan
On Oct 7, 2009, at 3:44 PM, cordenier christophe wrote:
Thanks, I did it.
2009/10/7 Thiago H. de Paula Figueiredo <thiag...@gmail.com>
Em Wed, 07 Oct 2009 10:17:09 -0300, Robin Komiwes
<odiss...@gmail.com>
escreveu:
I must agree with Christophe. With the current behavior, you are
not able
to distinguish a page that doesn't exist.
Kalle
Please post a JIRA about it.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org