Re: define multi @URLMapping in one class

Splash Forums PrettyFaces Users define multi @URLMapping in one class Re: define multi @URLMapping in one class

#20471

Placing multiple annotations of the same type on a single class is not supported due to limitations of the Java annotations system. Currently your only way is to use the XML configuration or to split the mappings over multiple classes.

I thought about adding a @UrlMappings annotation to support something like this but there are some details that have to be considered before doing so. See this post a few weeks ago:

http://ocpsoft.com/support/topic/beginner-needs-help-with-basic-prettyfaces-concepts#post-629

If you have strong interest in such an feature you could open a ticket for this and post your ideas.