0 Replies Latest reply on Aug 11, 2009 9:13 AM by Jack Y

    How To create dynamic buttons using lists

    Jack Y Newbie

      Hi to all


              I have a list.. From that i want to create a multiple command buttons..(ie.) dynamic command buttons...How to create the command buttons dynamically


                       




      <h:selectOneMenu id="deriveFrom" value="#{sysprcomponentsmst1Home.instance.derivedFrom}">
                       <f:selectItem itemLabel="#{messages.Select}" itemValue=""/>
                       <f:selectItems value="#{sysprcomponentsmst1Home.getPrCompName(i)}"/>
                       <a:support event="onchange" ajaxSingle="true" reRender="prformula,calcType,deriveFrom,derivedFrom" action="#{sysprcomponentsmst1Home.getFormula(sysprcomponentsmst1Home.instance.derivedFrom)}"/>
                       </h:selectOneMenu>





      Now i want this as command buttons...Thanks in advance....