Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-5776

InplaceSelect does not display initial value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Firefox 3.0.5
      RichFaces 3.3.0.GA
      Seam 2.1.0.GA
      Win XP

      Description

      The following usage of InplaceSelect displays the initial selected value in version RichFaces 3.2.2.SR1. In 3.3.0.GA the initial value is not displayed correctly. Instead two dashes are displayed for each initial value.

      <rich:inplaceSelect value="#

      {currentStep}

      " showControls="true" converter="#

      {org.jboss.seam.ui.EntityConverter}

      " >
      <s:selectItems value="#

      {availableStepsEQ}

      " var="step" label="#

      {step.name}

      "/>
      <a4j:support event="onviewactivated" reRender="step-date" />
      </rich:inplaceSelect>

      After changing the value, the correct string is displayed (and also correctly updated in the database). Refreshing the page will display the earlier mentioned dashes.

      I tried to replace the EntityQueru object by inserting a list (actually specified availableStepsEQ.resultList) but this yields the same result.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nbelaevski Nick Belaevski
                  Reporter:
                  vdweij Aede van der Weij
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: