This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101591

Summary: JSF managed bean wizard doesn't work
Product: javaee Reporter: Petr Blaha <blaha>
Component: JSFAssignee: Petr Pisl <ppisl>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 99509    

Description Petr Blaha 2007-04-18 14:54:28 UTC
[NB build 070418]
Steps:
1) create web project with GF target server
2) add JSF framework
3) invoke New File -> Web -> JSF managed bean wizard
4) specify package
5) click Finish
ERROR: get error message java.lang.Srting cannot be cast to org....ManagedBean$Scope
Comment 1 Pavel Buzek 2007-04-19 22:24:23 UTC
The class actually gets created, but is not added to faces-config.xml. I tried
to open faces-config.xml and add the class using its popup menu that that does
not work either, I got and exception "IAE: Model source is read-only." Not sure
if this is related to the failure in wizard..
Comment 2 Petr Pisl 2007-04-20 13:56:21 UTC
Fixed in the trunk.

Comment 3 Jiri Skrivanek 2007-04-23 12:36:21 UTC
Verified. read-only issue filed as issue 101771.