@CssClass("x-highlight")
public ToDoItem completed() {
setComplete(true);
// demonstrating the use of ...
final InteractionContext ctxt = InteractionContext.current.get();
@SuppressWarnings("unused")
List<Object> allObjects = ctxt.getDomainObjects();
LOG.debug("completed: "
+ ctxt.getIndex() +
" [" + ctxt.getSize() + "]"
+ (ctxt.isFirst() ? " (first)" : "")
+ (ctxt.isLast() ? " (last)" : ""));
return this;
}