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

    rich:list inside ui:repeat

    vipinlal.tg

      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;"/>

              </rich:list>

          </ui:repeat>

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

          </h:panelGrid>

          </rich:popupPanel>

      </a4j:outputPanel>

       

      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

        • 1. Re: rich:list inside ui:repeat
          pbaker01

          Hi, Just an observation, I don't think it is related to your problem but.. ...

          Check the style for the popupPanel.  You have "over-flow:auto" consider changing it to "overflow:auto;".

          (remove the hyphen and add the semicolon).