I have been trying to add componenets checkbox and an input text box since last week. I was using selectmany check box ,that didn't work out. Now when I went through the forum, I found that I can use selectBooleanCheckbox for dynamically adding. Now, when I press the button for the first time I got a checkbox and an input text. But when I press the button second time, nothing happens instead of adding one more checkbox and input text.
I am confused now. I am putting my code here, please anyone direct me from here ?
More clearly, if I press the Add button two time, I need to get 2 checkboxes and input boxes. Bauke gave me initial idea, but still am confused. Please help me.