[ 
https://issues.apache.org/jira/browse/ISIS-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood updated ISIS-1240:
------------------------------
    Description: 
If no iconName method is provided for a service Isis searches for an icon equal 
to the service name. Additional to this behavior we could extend this  search 
by stripping off know service suffixes like "Service, Menu and Repository". As 
an example: the "PersonMenu" service will use the "Person" icon if no icon has 
been specified.

If annotated as a repository (@DomainService(repositoryFor=...) then that could 
also be used.






  was:
If no iconName method is provided for a service Isis searches for an icon equal 
to the service name. Additional to this behavior we could extend this  search 
by stripping off know service suffixes like "Service, Menu and Repository". As 
an example: the "PersonMenu" service will use the "Person" icon if no icon has 
been specified.









> Derive icon from service when not provided
> ------------------------------------------
>
>                 Key: ISIS-1240
>                 URL: https://issues.apache.org/jira/browse/ISIS-1240
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.9.0
>            Reporter: Jeroen van der Wal
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.12.0
>
>
> If no iconName method is provided for a service Isis searches for an icon 
> equal to the service name. Additional to this behavior we could extend this  
> search by stripping off know service suffixes like "Service, Menu and 
> Repository". As an example: the "PersonMenu" service will use the "Person" 
> icon if no icon has been specified.
> If annotated as a repository (@DomainService(repositoryFor=...) then that 
> could also be used.



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

Reply via email to