[ 
https://issues.apache.org/jira/browse/ISIS-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266554#comment-14266554
 ] 

ASF subversion and git services commented on ISIS-1000:
-------------------------------------------------------

Commit e48f3f2ef5301a3ca6294bb6bbd4d2f2e8275463 in isis's branch 
refs/heads/ISIS-1000-CssClassFacetMethod from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=e48f3f2 ]

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)

Reply via email to