Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-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.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • viewer-wicket-1.7.0, core-1.7.0
    • core-1.8.0
    • Core, Viewer Wicket
    • 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

              Unassigned Unassigned
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: