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 124242 - POJO list binding in table only appears in "Table Layout", not in "Bind to Data"
Summary: POJO list binding in table only appears in "Table Layout", not in "Bind to Data"
Status: RESOLVED DUPLICATE of bug 121953
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 03:52 UTC by wahu
Modified: 2008-01-02 20:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Popup menu (15.06 KB, text/plain)
2007-12-19 03:53 UTC, wahu
Details
Table Layout (16.26 KB, text/plain)
2007-12-19 03:53 UTC, wahu
Details
Bind to Data (13.72 KB, text/plain)
2007-12-19 03:54 UTC, wahu
Details
Popup menu (Upload again for changing the mime type) (15.06 KB, image/jpeg)
2007-12-19 03:55 UTC, wahu
Details
Table layout (Upload again for changing the mime type) (16.26 KB, image/jpeg)
2007-12-19 03:56 UTC, wahu
Details
Bind to Data (Upload again for changing the mime type) (13.72 KB, image/jpeg)
2007-12-19 03:56 UTC, wahu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wahu 2007-12-19 03:52:41 UTC
In Netbeans 6.0, we can bind a table to POJO array or POJO list. 
We can use either "Table Layout" or "Bind to Data" to bind the table to POJO array. 
However, for POJO list binding, we can only see the POJO list in "Table Layout" menu, not in "Bind to Data" menu.

We declare the POJO list as following

    private List<Questionitem> questionItemsList = new LinkedList<Questionitem>();
    
    public List<Questionitem> getQuestionItemsList() {
       return questionItemsList;
    }

    public void setQuestionItemsList (List<Questionitem> questionItemsList) {

       this.questionItemsList = questionItemsList;

    }

And as attached snapshot, we only can see the POJO list in "Table Layout", not in "Bind to Data" menu
Comment 1 wahu 2007-12-19 03:53:38 UTC
Created attachment 54379 [details]
Popup menu
Comment 2 wahu 2007-12-19 03:53:58 UTC
Created attachment 54380 [details]
Table Layout
Comment 3 wahu 2007-12-19 03:54:17 UTC
Created attachment 54381 [details]
Bind to Data
Comment 4 wahu 2007-12-19 03:55:49 UTC
Created attachment 54382 [details]
Popup menu (Upload again for changing the mime type)
Comment 5 wahu 2007-12-19 03:56:30 UTC
Created attachment 54383 [details]
Table layout (Upload again for changing the mime type)
Comment 6 wahu 2007-12-19 03:56:51 UTC
Created attachment 54384 [details]
Bind to Data (Upload again for changing the mime type)
Comment 7 _ krystyna 2008-01-02 20:09:09 UTC

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