[
https://issues.apache.org/jira/browse/ISIS-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266736#comment-14266736
]
ASF subversion and git services commented on ISIS-1000:
-------------------------------------------------------
Commit 718b8f01a7899eeefb4ac049006553cd4cda1f06 in isis's branch
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=718b8f0 ]
ISIS-1000 Add unit tests for CssClassFacetMethod and CssClassFacetMethodFactory
Use assertThat() in IconFacetMethod(Factory)Test
> 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)