Tapestry
  1. Tapestry
  2. TAPESTRY-1169

Autocompleter does not return labels but object.toStrings on json response

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
      None

      Description

      the json render method does not use the getLabelFor method from the model. Instead, the values are toString()'ed - this works only for models which contain Strings or numbers...

      Patch attached

      1. patch
        0.9 kB
        Ron Piterman
      2. patch.txt
        0.9 kB
        Ron Piterman

        Activity

        Ron Piterman created issue -
        Ron Piterman made changes -
        Field Original Value New Value
        Attachment patch [ 12345938 ]
        Ron Piterman made changes -
        Attachment patch.txt [ 12345939 ]
        Jesse Kuhnert made changes -
        Assignee Jesse Kuhnert [ jkuhnert ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.1 [ 12312021 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12390920 ] Default workflow, editable Closed status [ 12567971 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567971 ] jira [ 12591084 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Ron Piterman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development