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:
I just committed the implementation of the new @URLMappings annotation to the PrettyFaces trunk. If you have still interest in this new feature, you could try the latest snapshot. All kind of feedback is welcome!
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘PrettyFaces Users’ is closed to new topics and replies.
Comments are closed.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.