Changes between Initial Version and Version 1 of Ticket #803, comment 5


Ignore:
Timestamp:
Mar 20, 2013, 12:27:49 PM (10 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #803, comment 5

    initial v1  
    11(In [4455]) Refs #803. New class `ViewItemTable` introduced for displaying a table of items of a specific class. It has two modes, one for general inspection, and one support mode for selecting one or more items as part of the set-up for a multi-step operation:
    22
    3  1. Class/file `action/ViewItemTable.java` in `client/servlet/` added. It is based on class/file `action/directory/ViewActiveDirectory.java` in `client/servlet/`, but without the extra complexity added by the directory table. `ViewItemTable` is intended to be used for item classes of type `Class<? extends BasicItem>`. If session attribute `VBoolean ViewItemTable.VSELECT` is `null` or `true`, select mode will be used. The list of integer id values for selected items is available in valid paramter `FormFactory.VID`.
     3 1. Class/file `action/ViewItemTable.java` in `client/servlet/` added. It is based on class/file `action/directory/ViewActiveDirectory.java` in `client/servlet/`, but without the extra complexity added by the directory table. `ViewItemTable` is intended to be used for item classes of type `Class<? extends BasicItem>`. If session attribute `VBoolean ViewItemTable.VSELECT` is `null` or `true`, select mode will be used. The list of integer id values for selected items is available in valid parameter `FormFactory.VID`.
    44 2. Class/file `ClassDescriptor` in `api/core/` is updated in public method `Object readValue(Object obj, AttributeDefinition attributeDefinition)` to check if `describedClass` is assignable from the object's class, instead of checking for equality of the classes.
    55