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 - UISelectItem
Summary: UISelectItem
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 21:36 UTC by frankye
Modified: 2009-05-26 21:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
UISelectItemBeanInfo.java.diff (1.09 KB, text/plain)
2009-05-26 21:37 UTC, frankye
Details

Note You need to log in before you can comment on or make changes to this bug.
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