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 108898 - View of JSF Table is damaged after assigning new RowSet to its bound DataProvider
Summary: View of JSF Table is damaged after assigning new RowSet to its bound DataProv...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 17:28 UTC by _ alexpetrov
Modified: 2008-02-06 14:39 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
.log-file (94.54 KB, text/plain)
2007-07-04 17:29 UTC, _ alexpetrov
Details
screenshot (181.33 KB, image/jpeg)
2007-07-04 17:30 UTC, _ alexpetrov
Details
screenshot (158.97 KB, image/jpeg)
2007-07-04 17:31 UTC, _ alexpetrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ alexpetrov 2007-07-04 17:28:19 UTC
Product Version: NetBeans IDE 6.0M10 (build 200706260050) 
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

1. Connect to DB Derby.
2. Create a new VWP project.
3. DnD DB table "HOTEL" on Design View.
4. DnD DB table "TRIP" on Design View.
5. DnD JSF component Table on Design View.
   Use popup menu item "Bind to Data...".
6. In the dialog "Bind to Data" select in combo-box the item "hotelDataProvider".
   Click OK.
7. In the window "Navigator" select the tree subnode "hotelDataProvider".
   In the window "Properties" change the value of property "cachedRowSet" from "hotelRowSet" to "tripRowSet".

Result:
1). Exception will appear in the "messages.log" (see the attached file)
2). Design View will be damaged (see the attached "screenshot_dataprovider_newRowSet.JPG")
3). If click "Continue", an exception message will be shown on the table place (see the attached
"screenshot_table_corrupted.JPG")

It seems, it would be better, if JSF component table was able to reconfigure its columns and display new 
correct version of columns with new column names and data.
Comment 1 _ alexpetrov 2007-07-04 17:29:11 UTC
Created attachment 44717 [details]
.log-file
Comment 2 _ alexpetrov 2007-07-04 17:30:33 UTC
Created attachment 44718 [details]
screenshot
Comment 3 _ alexpetrov 2007-07-04 17:31:53 UTC
Created attachment 44719 [details]
screenshot