2 Replies Latest reply on Feb 2, 2009 11:24 AM by shashidhar b

    Dynamic rows generation

    Ramanuja Reddy Newbie

      hi all,
      is there any code for dynamic row generation..any one can give the code please help me..

        • 1. Re: Dynamic rows generation
          Julien Kronegg Novice

          Please be precise. No one can help you if you give so few information...

          • 2. Re: Dynamic rows generation
            shashidhar b Newbie

            Click HELP for text formatting instructions. Then edit this text and check the preview.



            <c:forEach items="#{wuapresident.totallist}" var="wuapresidents">
            <h:inputText value="#{wuapresidents.tcmemberid}" id="dccode#{wuapresidents.index}"/>    
            <h:inputText value="#{wuapresidents.tcmemberid}" id="pname#{wuapresidents.index}"/>    
             <h:inputText value="#{wuapresidents.vtype}" readonly="true" id="vtype#{wuapresidents.index}" style="background-color:white;width:100px;"/>
             </c:forEach>



            hi friend
            observe code,
            In that code, totallist is a arraylist object of type one java class.
            Java Class having 3-variables they are tcmemberid,vtype,index.
            In action, i added values to totallist.
            bye