ICEfaces
  1. ICEfaces
  2. ICE-1550

Seam: h:selectOneMenu current value not initialized using s:selectItems

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#2, 1.6DR#4
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      JBoss Seam 1.2.1, also 1.2.0 Patch 1
      JBoss 4.0.5GA (JEMS with ejb option)
      Apache myfaces 1.4

      Description

      Using Seam with ICEfaces, a standard Seam feature does not work any more.
      By using the following code, a drop down is displayed and filled with a list.
      If ICEfaces is activated, the current selection supported by #{subcategoryEditor.instance.category} is not set as selected, the first value of the category list is selected instead:

                              <h:selectOneMenu id="#{data_messages['category']}" value="#{subcategoryEditor.instance.category}" required="true"
      converter="#{categoryFinder.categoryConverter}">
      <s:selectItems value="#{categories.resultList}" var="category" label="#{category.description}" noSelectionLabel="Please Select..." hideNoSelectionLabel="true" />
                              </h:selectOneMenu>

      Viewing HTML, the "selected" attribute of <item selected="selected" ...> is missing.
      When I disable ICEfaces, the above code is working and setting my current category.

      I tried ICEfaces 1.6DR#2 + Seam 1.2.0 Patch 1 and then updated to 1.6DR#4 + Seam 1.2.1 without success.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Michael Veit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: