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

<t:selectOneCountry> empty selection does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • SelectOneCountry
    • None
    • JBOSS, XP, IE/FireFox

    Description

      <t:selectOneCountry emptySelection=""
      value="#

      {bean.country}

      "
      valueChangeListener="#

      { bean.countryChanged}

      "
      />

      When changing country from US to Canada, or from empty selection to US, everything worked fine. But changing from US to empty selection, the backing bean variable "country" was not changed, and the valueChangeListener was not called. I expected the country variable to become null when user selected empty selection.

      Also the empty selection should be turned on/off programactically? OFF - the empty selection does not show up if the country is required.

      Attachments

        Activity

          People

            cagatay_civici Cagatay Civici
            javaone9 Dave
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: