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

@Title on a field should use the getter (to allow the ORM to lazily retrieve the data)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M7
    • Viewer Wicket
    • None

    Description

      otherwise, can result in "Untitled Simple Object" - because DN hasn't always retrieved object.

       

      To reproduce, use the simpleapp and remove SimpleObject#title and instead add:

       

      @Title(prepend="Object: ")
      private String name;
      

      When edit the name, will see "Untitled Simple Object" on re-rendering

      Attachments

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: