On Jul 8, 2009, at 6:46 PM, Miguel Lopes wrote:
> The first checkbox (contactSelect) allows me to indicate which records
> to select. the second indicates if the record is to be shared
> (contactShare) (just something about the record).
> My problem is that most checkbox clicks somehow affect the other
> checkbox. This happens irrespectively of if I press contactSelect or
> contactShare, and even affects records in different rows.
I don't completely understand the relationship of the checkboxes, but
you should encapsulate the logic of what changes affect the enabled/
checked state in the bizobj, and then have methods in the bizobj that
access that logic. You can then bind Dynamic* properties of the
checkboxes to those form methods, and make sure that whenever the user
interacts with the checkbox, the form's update() method is called,
which will re-calculate the dynamic properties of the checkboxes.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]