[
https://issues.apache.org/jira/browse/ISIS-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266685#comment-14266685
]
ASF subversion and git services commented on ISIS-1000:
-------------------------------------------------------
Commit 1db029f0958b970c77c82892dc4a058fc66d1c8a in isis's branch
refs/heads/ISIS-1000-CssClassFacetMethod from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=1db029f ]
ISIS-1000 Add a new Facet for DomainObject#cssClass() method
For now the css class is used only for data table rows
> 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)