Opened 12 years ago

Closed 12 years ago

#377 closed task (fixed)

Create some example extensions for the item overview

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Example code v1.5
Component: net.sf.basedb.examplecode Keywords:
Cc:

Description (last modified by Nicklas Nordborg)

BASE 3.2 will add extension points for adding node loaders and validators to the item overview (http://base.thep.lu.se/ticket/1680 and http://base.thep.lu.se/ticket/1681). We should include some examples in the example code.

  1. Include the user that is the owner of an item as a property node.
  2. Continue to load the role membership of that user as child nodes.
  3. A validator that checks if the user has a valid URL address or not.
  4. A validator that checks if the user is a member of at least one role.
  5. An information extension that display some additional properties for the selected item. We could, for example, display more or less the same as the toolbar button example.

Change History (6)

comment:1 by Nicklas Nordborg, 12 years ago

Description: modified (diff)
Status: newassigned

comment:2 by Nicklas Nordborg, 12 years ago

(In [1602]) References #377: Create some example extensions for the item overview

Added loader implementations for User and Role.

comment:3 by Nicklas Nordborg, 12 years ago

(In [1603]) References #377: Create some example extensions for the item overview

Added validation implementations for user and role that check the URL for the user and role membership.

comment:4 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [1604]) Fixes #377: Create some example extensions for the item overview

Updated README with the latest information.

comment:5 by Nicklas Nordborg, 12 years ago

Description: modified (diff)
Resolution: fixed
Status: closedreopened

comment:6 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: reopenedclosed

(In [1611]) Fixes #377: Create some example extensions for the item overview

Added an example that add a section to the information pane in the item overview.

Note: See TracTickets for help on using tickets.