Re: Radio Group Ajax Render issue
Hi ,I tried the same code replacing wicket:container. but , I am still getting an error that Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = radio2RadioGroup]] If I setRenderBodyOnly(false) then nothing happens onchange event. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-Group-Ajax-Render-issue-tp4570589p4571061.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Radio Group Ajax Render issue
This is a HTML code for the radio1Group and radio2RadioGroup.I want second radio of radio2Group should get selected onchange event of textFileRadio in radio1Group. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-Group-Ajax-Render-issue-tp4570589p4570888.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Radio Group Ajax Render issue
This is a HTML code for the radio2RadioGroup in which I want to select the second radio if I select second radio in radio1Group -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-Group-Ajax-Render-issue-tp4570589p4570850.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Radio Group Ajax Render issue
I have a following piece of code radio1RadioGroup.add(onScreenRadio.add(new AjaxEventBehavior("onChange ") { protected void onEvent(AjaxRequestTarget target) { radio2RadioGroup.setDefaultModel(firstRadioModel); target.addComponent(radio2RadioGroup); } })); radio1RadioGroup.add(textFileRadio.add(new AjaxEventBehavior("onChange ") { protected void onEvent(AjaxRequestTarget target) { radio2RadioGroup.setDefaultModel(secondRadioModel); target.addComponent(radio2RadioGroup); } })); I am getting an excepiton onChange event of outPutRadioGroup IllegalStateException: Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = radio2RadioGroup]] if I set setRenderBodyOnly(false) for radio2RadioGroup; then Nothing happens. Please suggest me the work around. Regards, Pradnya -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-Group-Ajax-Render-issue-tp4570589p4570589.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org