Community
Participate
Working Groups
If a MasterDetails composite is used for display of data only no buttons would be required. This works fine for 'New' and 'Remove' buttons as those are always checked for existence. The 'Apply' button is always used wihout such a check resulting in a NPE it if is not there. This behaviour is somewhat inconsistent as comments of the #create...Button() methods in AbstractMasterDetailsComposite do not state this difference (which anyway does not make sense, if you want to use MD for display only)
Created attachment 166284 [details] snippet to reproduce NPE
Created attachment 166285 [details] patch for o.e.r.u.r.s.AbstractMasterDetailsRidget
Yep, it never occurred to me that there could be a use case where no apply button is needed :-). I should have documented it more explicitly. In any case I don't see a problem supporting this. Will apply the patch until the end of the week.
Resolved.