Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-334

method String iconName() is never called in entities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.1.0
    • viewer-wicket-1.2.0
    • Viewer Wicket
    • ubuntu 12.04LTS, oracle jdk 1.6

    Description

      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.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            chris58 Christian Steinebach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: