Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-559

When a @Bulk action is invoked, an interaction context (available via a ThreadLocal) should provide additional contextual information.

    Details

      Description

      eg:

      @Bulk
      public ToDoItem completed()

      { ... // 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; }

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: