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 166067

Summary: UISelectItem
Product: obsolete Reporter: frankye <frankye>
Component: visualwebAssignee: Winston Prakash <wjprakash>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: UISelectItemBeanInfo.java.diff

Description frankye 2009-05-26 21:36:36 UTC
Using Visual Web Project, with insert the following in Visual Web Page:
                    <h:selectOneMenu>
                        <f:selectItem escape="true" itemValue="10" itemLabel="menu2_Guy Lafleur"/>
                         <f:selectItem escape="true" itemValue="99" itemLabel="menu2_Wayne Gretzky"/> 
                    </h:selectOneMenu>
the designer will fail on NullPointerException.

Root Cause is the 
visualweb.jsfsupport.designtime_1_2/src/org/netbeans/modules/visualweb/faces/dt_1_2/component/UISelectItemBeanInfo.java 

where the UISelectItem does not have a bean patter for escape property, but itemEscaped boolean implementation.
Comment 1 frankye 2009-05-26 21:37:24 UTC
Created attachment 82826 [details]
UISelectItemBeanInfo.java.diff