[
https://issues.jboss.org/browse/SEAMFACES-115?page=com.atlassian.jira.plu...
]
Brian Leathem commented on SEAMFACES-115:
-----------------------------------------
Pulling the annotations from the @ViewConfig looks easy, and they could at that time be
processed by the view extension to configure pretty faces.
However, one of the goals of the ViewConfigStore is to allow configuration by multiple
sources:
1) The @ViewConfig enums
2) f:metadata
3) xml (at least conceptually :)
4) JAVA API to support arbitrary user provided persistence
So the goal would be to get the pretty faces rules into the ViewConfigStore, and load them
into pretty faces once all configuration sources have been processed.
As I understand it, pretty faces filters should to all be loaded at application start up.
It doesn't really make sense to load url rewriting on first view visit, well at least
not for all rewrite rules. (by all means correct me if I'm wrong)
So to support this, all view config configurations have to be processed aggressively.
This probably relates more to issues that will track the implementation of the other
configuration sources, but I'm including it here since the pretty faces configuration
is a big driver for the aggressive load.
Add @ViewConfig annotations to support URL rewriting
----------------------------------------------------
Key: SEAMFACES-115
URL:
https://issues.jboss.org/browse/SEAMFACES-115
Project: Seam Faces
Issue Type: Feature Request
Components: URL Rewriting
Reporter: Brian Leathem
Fix For: 3.0.0.Final
An additional annotation can be added to the views defined with the @ViewConfig enums.
The configuration can be processed by the ViewConfig Extension to configure pretty faces
via:
http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html_single/#Configura...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira