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)
You must be logged in to reply to this topic.
Comments are closed.
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!