0 Replies Latest reply on Mar 8, 2015 7:13 AM by Amit Lodha

    Richfaces 4.x orderlist not working?

    Amit Lodha Newbie

      hi,

      i am working with richfaces 4.x, but i am not get the selected item list from orderlist. can some 1 help me.

       

      Code:

       

      <h:form>

              <rich:panel style="width:300px;">

                  <f:facet name="header">

                      <h:outputText value="Simple ordering list"></h:outputText>

                  </f:facet>

                  <rich:orderingList value="#{listSelectBean.capitals}" var="capital"

                      itemValue="#{capital}" itemLabel="#{capital.name}"

                      id="categoriesList" selection="#{listSelectBean.selectedCapitals}">

                      <f:converter converterId="CapitalsConverter" />

                      <a4j:ajax event="click" render="categoriesList" execute="@this" />

                  </rich:orderingList>

                  <h:outputText value="#{listSelectBean.selectedCapitals}" />

              </rich:panel>

          </h:form>