[
https://issues.apache.org/jira/browse/ISIS-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1000.
-------------------------------
Resolution: Fixed
> 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: viewer-wicket-1.7.0, core-1.7.0
> Reporter: Dan Haywood
> Assignee: Martin Grigorov
> 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)