1 Reply Latest reply on Jul 30, 2013 8:55 AM by Paul Baker

    rich:list inside ui:repeat

    Vipinlal T Newbie

      Hai All,


      I have one doubt,


      <a4j:outputPanel ajaxRendered="true">

          <rich:popupPanel id="successPanel" modal="true" width="500" rendered="#{managedbean.successPanel}" show="true" domElementAttachment="form" autosized="false" style="over-flow:auto">

          <h:panelGrid columns="1">

          <ui:repeat var="var" value="#{managedbean.errorMap.keySet().toArray()}">

              <h:outputText value="#{var}"/>

              <rich:list  value="#{managedbean.errorMap[var]}" var="error_msg" rowKeyVar="row" id="sele">

                  <h:outputText value="#{row+1}: " style="font-size: 12px;"/>

                  <h:outputText value="#{error_msg}" style="font-size: 12px; color: red;"/>



          <h:commandButton id="ok" value="#{msg.button_ok}" action="#{managedbean.onClickOk}" alt="ok" immediate="true"/>





      Here i added one code snipplet

      in <ui:repeat> i have one map holding arraylist in different keys and iterate using this ui repeat and it working fine.

      But in <rich:list> am getting only first arraylist corresponding to first key. but map holding more than one arraylist.\

      Why it not working here? let me know any wrong thing that i did in above?

      very thankfull for your answers