Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-135

[ s:inputSuggest ] Bad values when back to the model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • InputSuggestAjax
    • None

    Description

      When accessing the selected entry in the model, the value equals : orm:<componentID>_choice<SelectedEntry> instead of <SelectedEntry>

      The reason this happens is that the value that's set comes from the rendered HTML id for the choice. In order to allow you to have multiple inputSuggest components on one page with values in common, it is necessary to prepend the component id to ensure the generation of a unique HTML id for every choice.

      It should be possible to add code to the component so that it can remove what it puts in on the way back to the model.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clement Clement Escoffier
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: