[
https://issues.jboss.org/browse/SEAMFACES-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596665#comment-12596665
]
Brian Leathem commented on SEAMFACES-145:
-----------------------------------------
As Dan pointed out:
"it just so happens that in CDI it's easier to find types than an annotation on
any type because you can do ProcessAnnotatedType<ViewConfig>"
> Consider extending a "ViewConfig" interface, rather than marking an interface
> using a the @ViewConfig annotation
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SEAMFACES-145
> URL: https://issues.jboss.org/browse/SEAMFACES-145
> Project: Seam Faces
> Issue Type: Enhancement
> Components: View Configuration
> Reporter: Brian Leathem
> Fix For: 3.0.2
>
>
> Currently an interface is required to hold the view configuration enums, and
> this interface is marked with the @ViewConfig interface. Consider creating a
> "ViewConfig" interface that one would extend instead of marking an interface
> with the @ViewConfig annotation.
> public interface MyAppViewConfig extends ViewConfig {
> static enum Pages {
> }
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues