On Mon, 04 Apr 2011 14:29:26 -0300, Howard Lewis Ship <[email protected]> wrote:

@MatchExtraPath("\\d+")
public class Index
{
}

I prefer another approach: according to my experience, it's rare to have an Index page with activation context parameters. Thus, I think we can create a mixin that raises a 404 when page activation context is not empty, automatically apply it to all Index pages and have a configuration symbol to configure this, most probably with a false default value to provide backwards compatibility.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to