Community
Participate
Working Groups
1) Create a DWP with JSF 2.0 facet 2) Edit the faces-config.xml in the Faces config editor 3) Add a managed bean <managed-bean> <managed-bean-name>loginBean</managed-bean-name> <managed-bean-class>demo.LoginBean</managed-bean-class> <managed-bean-scope>view</managed-bean-scope> </managed-bean> 4) Save Result: FC editor reports the warning: Managed bean scope must be one of: request, session, application, none faces-config.xml /SimpleComp/WebContent/WEB-INF line 0 JSF Problem Note: If you type an incorrect value for the scope say, viewx, you get correct error reported by XML cvc-pattern-valid: Value 'viewx' is not facet-valid with respect to pattern 'view|request|session|application|none|#\{.*\}' for type 'null'. faces-config.xml /SimpleComp/WebContent/WEB-INF line 11 XML Problem
Can you please review that you were adding this entry to a JSF2.0 schema'ed faces config file. Even though the app is a JSF 2.0 faceted app, a pre-JSF2.0 config file will not accept JSF2.0 model objects.
I am not able to repro. this with the released code.
closing.