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 125273 - DnD on Table component doesn't work
Summary: DnD on Table component doesn't work
Status: VERIFIED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 11:20 UTC by Roman Mostyka
Modified: 2008-01-16 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-01-15 11:20:11 UTC
1. Add Oracle driver to the Drivers.
2. Add new Oracle connection.
3. Create web application with "Visual Web JSF" framework.
4. Add Table component to the page.
5. Drag DB table and drop it on Table component on the page.

Result: cachedRowSetDataProvider1 is created for page bean, but there is no any RowSet created in SessionBean.
defaultTableDataProvider isn't removed and Table component is bound to it.

There is workaround: Drag DB table and drop it on the page. Then rightclick Table component, choose "Table Layout" and
there bind Table component to created dataprovider. But this is a primary feature and this workaround is quite
inconvenient, so therefore it is marked as P1.
Comment 1 Roman Mostyka 2008-01-15 11:29:50 UTC
The same happens for Derby DB. But when DnD second time, binding is successful.
Comment 2 John Baker 2008-01-15 19:04:45 UTC
No changes in dataconnectivity could have caused this AFAIK. 
I'm updating the my build and verifying
Comment 3 John Baker 2008-01-15 20:28:26 UTC
Works for me.
Using latest sources from 1 hr ago.

If you're still seeing this, please attach messages.log
Comment 4 John Baker 2008-01-15 20:38:58 UTC
Steps I followed:

1. Add Oracle driver 10.2.0.2 to the Drivers.
2. Add new Oracle connection.   jdbc:oracle:thin:@jbrave-pc1.sfbay.sun.com/ora10g
3. Create web application with "Visual Web JSF" framework.
4. Add Table component to the page.
5. Drag DB TRIP table and drop it on Table component on the page.
Comment 5 Roman Mostyka 2008-01-16 10:22:14 UTC
I tried to reproduce with build 200801160000, but everything is OK. Probably yesterday build was broken, because I was
able to reproduce permanently.