Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <url-mapping id="search">
- <pattern value="/search" />
- <view-id value="/views/search.xhtml" />
- </url-mapping>
- <url-mapping id="edit">
- <pattern value="/edit" />
- <view-id value="/views/edit.xhtml" />
- </url-mapping>
- <url-mapping id="generic">
- <pattern value="/*" />
- <view-id value="/views/$1.xhtml" />
- </url-mapping>
- .addRule(Join.path("/{page}").to("/views/{page}.xhtml"))
Add Comment
Please, Sign In to add comment