Example:
EditLinkCellEditor assign = new EditLinkCellEditor("assign", "employeeId");
assign.setImageFile(EditLinkCellEditor.ADD_ICON);
assign.setCaption("Assign a Cell Phone to this Employee");
GroupCellEditor group = new GroupCellEditor(assign);
throws a NullPointerException if I try to use getWebContext().get**, etc.
in EditLinkCellEditor's getValue() method
Obviously, there are numerous workarounds, but a cleaner approach might be
to have GroupCellEditor chain the calls to setCoreContext(),
setWebContext() etc to the decorated cell editor. This should probably
even be put into a more generic CellEditorDecorator class that chains all
of its method calls into the decorated cell editor and can serve as a base
class for future decorators.
Labels: -Type-Defect Type-Enhancement