Details
-
Type:
Feature Request
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.1.0.Tracking
-
Component/s: View Configuration
-
Labels:None
Description
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!
With this enum/@ViewPattern coupling, we could have @LoginViewId refernece another enum value, rather than a string