Christian Steinebach created ISIS-334:
-----------------------------------------

             Summary: 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


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