I have an editable data grid driven by an ArrayCollection of value
objects that I would like to validate on the fly, row by row.  As an
invidual column is edited, I'd like to invoke logic to check if the
row's VO is 'valid', meaning all data elements are present and within
valid ranges and so forth.  I'm still thinking through the best
approoach. 

Currently I'm playing using ChangeWatcher in the VO to watch each
property and determine the VO's validity when a property changes. I
could loop through the ArrayCollection and check validity of each item
but I would need to somehow listen for row level changes to trigger the
validation. That just feels kludgey. 

Has anyone messed around with this?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)

Reply via email to