1 Reply Latest reply on Oct 27, 2011 9:34 AM by ajanz

    how to add comboBox dynamically

    newbie0014

      hi,

       

      I have one rich:modalPanel in which there is one rich:comboBox. Now according to section in this main comboBox, i have to add different no. of other comboBox in same rich:modalPanel.

       

      For ex,

      If i select "1" in main combox, then new combox should be added just below it.

       

      How can i achieve this ?

       

      Thanks

        • 1. Re: how to add comboBox dynamically
          ajanz

          you can use a a4j:outputpanel containing the additional comboboxes with a binding on the rendered attribute.

           

          after select event in the first combobox rerender the outputpanel

          1 of 1 people found this helpful