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

Allow objects to return CSS class (analogous to iconName() method) so that their presentation can be dynamically reflected in tables or on an object form.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: viewer-wicket-1.7.0, core-1.7.0
    • Fix Version/s: core-1.8.0
    • Component/s: Core, Core: Viewer: Wicket
    • Labels:
      None

      Description

      Suggest:

      cssClass() as the method name (at object level).

      Reuse CssClassFacet, with a new facet factory to install for the ObjectSpecification.

      Update the wicket viewer in two place:

      • the CollectionContentsAsAjaxTablePanel should add the CSS to each <tr>
      • the EntityCombinedPanel to add the CSS to an appropriate <div> that wraps all the content on the page.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: