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 94159

Summary: Value binding using :ROWID: fails
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Matthew Bohm <mbohm>
Status: NEW ---    
Severity: blocker CC: mbohm
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description bugbridge 2007-02-02 22:35:27 UTC
Description:
New Project
Drag a message list
Drag a dropDown
Drag Person database table onto the dropDown
Bind items property of dropDown to
#{Page1.personDataProvider.options[':ROWID:,NAME']}
Bind selected property of dropDown to #{Page1.personDataProvider.value[':ROWID:']}
Right-click on the dropdown and choose AutoSubmit on change
Drag a static text and bind its "text" property to
#{Page1.personDataProvider.value['NAME']}
Run project.
Change the value in the dropDown.
The change does not take. In the message list we see
"java.lang.IllegalArgumentException: :ROWID:"

See comments for log contents. Also see attachments.

The workaround is to use a valueChangeListener method instead of ":ROWID:".


xxx@xxxx 2005-06-08 20:11:40 GMT

Since this is an undocumented feature for EA waiving this will have no impact to
the customer
xxx@xxxx 2005-06-08 21:59:40 GMT

Description (Entry 2):
Please close as not a bug if in fact this is not a bug.

Evaluation:
It is not clear what is supposed to resolve ROWID.  Nor is it clear what the
contract is with a TableDataProvider.  Once we know that contract, we can
determine what TableDataProvider's can fufull it.  It is not a given that all can.
xxx@xxxx 2005-06-08 21:20:53 GMT

Evaluation (Entry 2):
The :ROWID: pseudo-variable continues to be an unsupported feature for Thresher
FCS, so requesting WAV there as well.

Evaluation (Entry 3):
This is a feature we never finished (but should consider for Mako), so
requesting WAV for Thresher FCS.