Re: creating a dynamic code for a group of radio buttons

2006-11-16 Thread Aneesha Govil
Hi Yaron, Can you post the updated code? I think you had missed this step earlier - selectOneRadio.getChildren().add(radio); Aneesha On 11/15/06, Yaron Spektor [EMAIL PROTECTED] wrote: Thanks Aneesha, I did have the IDs unique. I also tried setting the valueBinding to an

RE: creating a dynamic code for a group of radio buttons

2006-11-15 Thread Yaron Spektor
Thanks Aneesha, I did have the IDs unique. I also tried setting the valueBinding to an HtmlSelectOneRadio that I put on the bean (with getters and setters of course) nothing seemed to work. Just to make sure my question is clear I need to create a dynamic view similar to this:

Re: creating a dynamic code for a group of radio buttons

2006-11-14 Thread Aneesha Govil
Hi,I haven't constructed radio buttons dynamically but in general, to do something like this..HtmlSelectOneRadio selectOneRadio = new HtmlSelectOneRadio(); selectOneRadio.setId(choicesRadioButtons);//TODO: componentID selectOneRadio.setLayout(spread);selectOneRadio.setValue(displayValue);// If