I'm learning Oracle ADF(11g). Please help me with the solution to this scenario:
One way to do this is to use the ValueChangeListener on the checkbox to call a method on a backing bean when the box is checked/unchecked. In the backing bean confirm the box was checked. If it was, then get a reference to the desired Data Control Iterator and then you can programatically iterate over the records in the VO/EO cache and change each salary. There are many links on the web for how to do this, e.g. here.
That being said, I do question the usability of your design. I don't think it makes sense to have a checkbox in the middle of a single record that says "all employees". Can be very confusing for a user. Is that "ALL employees"?" No - just the ones in this department. I would have used a table for this then the check box makes more sense. But, if you MUST do it this way per user demand (questionable) at the very least I would move the check box away from the record and make it clear that the check box will set the salary to:____ for all employees of Dept: _______.