Changeset 4455


Ignore:
Timestamp:
Mar 20, 2013, 12:26:35 PM (10 years ago)
Author:
olle
Message:

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:

  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.
  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.


Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.