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 94190

Summary: Object List Data Provider design time is broken
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Winston Prakash <wjprakash>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jbaker, wjprakash
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2007-02-03 00:09:40 UTC
Description:
This is a P1 priority because several customers have complained about this

Gail/Paul Anderson send me a sample project to show this is broken.

http://swforum.sun.com/jive/thread.jspa?threadID=62251&tstart=45

- DnD a Object List Data Provider.
- Add a property "myList" of type java.util.ArrayList to session bean
- In the property sheet, myList is shown in the "items" property drop down, 
  but could not be set to  Object List Data Provider.
- Add a Java Class, say Name.java with two property "firstName" and "lastName"
  (You have to compile the project, close and open, this is another bug)
  It is not possible to set this Class a ObjectType via property sheet.
(This is another classic ClassLoader problem)
- Type in the java code objectListDataProvider.setObjectType(webapp1.Name.class)
This also does not work.

This bug should be part of the leopard patch

Description (Entry 2):
This was approved for a waiver for Shortfin but Quality Council would like to
see a FAQ created around this issue.

Evaluation:
This is because of classloader and source modeling problem in Creator 2. Some
architectural change regarding this issue being planned for Mako.

I have a work around for this problem and blogged about it.

http://blogs.sun.com/roller/page/winston?entry=objectlistdataprovider_workaround

Workaround:
http://blogs.sun.com/roller/page/winston?entry=objectlistdataprovider_workaround

This might be fixed by now.
Comment 1 Winston Prakash 2007-05-01 03:28:32 UTC
Closing this as duplicate of 98555

*** This issue has been marked as a duplicate of 98555 ***