You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/01/05 21:43:34 UTC

[jira] [Created] (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.

Dan Haywood created ISIS-1000:
---------------------------------

             Summary: 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.
                 Key: ISIS-1000
                 URL: https://issues.apache.org/jira/browse/ISIS-1000
             Project: Isis
          Issue Type: New Feature
          Components: Core, Viewer: Wicket
    Affects Versions: core-1.7.0, viewer-wicket-1.7.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: viewer-wicket-1.8.0, core-1.8.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)