[seam-issues] [JBoss JIRA] Issue Comment Edited: (SEAMFACES-122) Find a way to use the @ViewConfig enums to provide type-safe navigation rules
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Wed Sep 7 13:30:26 EDT 2011
[ https://issues.jboss.org/browse/SEAMFACES-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626905#comment-12626905 ]
Brian Leathem edited comment on SEAMFACES-122 at 9/7/11 1:30 PM:
-----------------------------------------------------------------
Note: Conversation propagation is being addressed in WELD-919 and CDI-135.
If Seam Faces gets to it first, we may want to prototype this functionality in a custom navigation handler, but we should stick with the syntax agreed upon in the upstream issues.
was (Author: bleathem):
Note: Conversation propagation is being address in WELD-919 and CDI-135.
If Seam Faces gets to it first, we may want to prototype this functionality in a custom navigation handler, but we should stick with the syntax agreed upon in the upstream issues.
> Find a way to use the @ViewConfig enums to provide type-safe navigation rules
> -----------------------------------------------------------------------------
>
> Key: SEAMFACES-122
> URL: https://issues.jboss.org/browse/SEAMFACES-122
> Project: Seam Faces
> Issue Type: Feature Request
> Components: View Configuration
> Reporter: Brian Leathem
> Fix For: 3.1.0.Tracking
>
>
> Option 1) instead of using a @ViewPattern annotation, instead pass it to the constructor of the enum, to be stored as a property of the enum.
> Problem: the application developer would have to implement the constructor
> Option 2) require the developer to implement an interfaces, that specifies a setViewId method for an enum value, programmatically set that viewId with what is in the @ViewPattern annotation
> Feel free to provide more implementation options in the comments!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list