jsf 2 - get the updated list using <rich:orderingList> after changing the order -


hi new rich:orderinglist , need new list after arranging contents in new order in jsf controller .

following piece of xhtml code

<h:form id="editscreenrankform">    <a4j:outputpanel id="edit-screenrank-fields">       <rich:orderinglist value="#{currencycontroller.rankinglist}" var="ranking"                          itemvalue="#{ranking}" itemlabel="#{ranking.code} - #{ranking.name}">      </rich:orderinglist>   </a4j:outputpanel>   <h:commandbutton value="submit" type="submit" action="#currencycontroller.getlist}"/> </h:form> 


Comments