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 93893 - Value binding dialog vs. Prop window for validator prop
Summary: Value binding dialog vs. Prop window for validator prop
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Gregory Murphy
Keywords: RELNOTE
Depends on:
Reported: 2007-02-01 22:56 UTC by bugbridge
Modified: 2007-12-07 16:41 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-01 22:56:05 UTC
Original status: 4-Defer; Suggested Status: RESOLVED (Resolution:REMIND)

Original Target Release: mako_dev; Suggested Target Milestone : Dev

These items should be added to the Keywords: RELNOTE

Testing using 5/27 kit
drop a text field
drop a length validator on the canvas
open the Property Bindings dialog and:
1. Click validator property on the left hand list
2. Click the validator instance on the right hand list
> look at the binding expression in the dialog
> it needs to be something like: #{Page1.lengthValidator2.validate}
> but is missing the .validate part

in the property window if you select the dropdown arrow for the validator
property you see a list of validators appear.  If you select one of the
validators in the drop-down, the inline text is automagically convertered
to the correct binding expression of the form: #{Page1.lengthValidator2.validate}

apologies in advance for reopening this one.  Drop me a email if based on this
information it should be closed still and I will do that.
xxx@xxxx 2004-05-27

Oh I should add, the validators are all greyed out in the list on the right
hand side...makes it look like they can't be picked.  Which is kind of right.

This isn't a bug.  This is the "Property Binding Dialog" and validate is a
MethodBinding.  #{Page1.lengthValidator2.validate} is a method binding pointing
to the 'validate' method of the Page1.lengthValidator2 instance.  'validate' is
not a property...
xxx@xxxx 2004-05-27

Making this an RFE to *potentially* show methods in the Property Binding Dialog
(post 1.0)
xxx@xxxx 2004-05-28
- deva look around ValueBindingPropertyEditor, BoundPropertyPropertyEditor,
xxx@xxxx 2004-12-14 20:29:22 GMT
- Passing on to Joe as he seems to own the Binding stuff
xxx@xxxx 2005-05-24 04:59:16 GMT

Add the .validate suffix to the binding expression in the dialog and apply.
Comment 1 Peter Zavadsky 2007-02-01 22:56:51 UTC
See above.