Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-592

tomahawke SelectOneRadio in datatable no longer working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.1.1
    • 1.1.1
    • None
    • None
    • Tomcat 5.5 running under JBoss on Windows Server 2003

    Description

      The tomahawke selectOneRadio (t:selectOneRadio previously x:selectOneRadio) in a datatable no longer works correctly. On selection of an item and submission of the form a ('Validation Error', "

      {0}

      ": Value is not a valid option') message is added to the messages.
      This worked correctly in myfaces 1.0.9 but not in the last nightly build.

      Below is a subset of my jsp that outputs the column:

      <h:column>
      <f:facet name="header">
      <h:outputText value="#

      {bundle.label_select}

      "/>
      </f:facet>
      <t:selectOneRadio id="selectRadio" forceId="true" forceIdIndex="false" required="true" value="#

      {ClientSearchBean.selectedExtClientId}

      ">
      <f:selectItem itemValue="#

      {client.extClientId}

      " itemLabel=""/>
      </t:selectOneRadio>
      </h:column>

      The 'value; points to a string value in the backing bean and the itemValue points to the same string value in the Client domain object, of which the table is driven from.

      Attachments

        1. 606.patch.txt
          5 kB
          Jamie Cash
        2. diff.txt
          0.8 kB
          Jamie Cash
        3. screenprint.bmp
          1.59 MB
          Jamie Cash

        Issue Links

          Activity

            People

              grantsmith Grant Smith
              jcash Jamie Cash
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: