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

Dan Haywood resolved ISIS-334.
------------------------------

       Resolution: Fixed
    Fix Version/s: viewer-wicket-1.2.0
    
> method String iconName() is never called in entities
> ----------------------------------------------------
>
>                 Key: ISIS-334
>                 URL: https://issues.apache.org/jira/browse/ISIS-334
>             Project: Isis
>          Issue Type: Bug
>          Components: Examples, Viewer: Wicket
>    Affects Versions: core-1.1.0
>         Environment: ubuntu 12.04LTS, oracle jdk 1.6
>            Reporter: Christian Steinebach
>            Assignee: Dan Haywood
>              Labels: features
>             Fix For: viewer-wicket-1.2.0
>
>
> In ToDoItem.java
>     // {{ Identification on the UI
>     public String title() {
>         final TitleBuffer buf = new TitleBuffer();
>         buf.append(getDescription());
>         if (isComplete()) {
>             buf.append(" - Completed!");
>         } else {
>             if (getDueBy() != null) {
>                 buf.append(" due by ", getDueBy());
>             }
>         }
>         return buf.toString();
>     }
>     // }}
>     public String iconName(){
>        return "SomeIcon";
>     }
> title() is called, but iconName() is not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to