RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException
I'm just having too much fun with RadioGroups lately. I've got a RadioGroup inside a panel, that's inside a modal. When clicking and saving the form I get the following exception: RROR RequestCycle] Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] java.lang.IllegalStateException: Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTar get.java:675) I even tried to set setRenderBodyOnly(false), which didn't work. Any input would be appreciated. Thanks, Michael
Re: RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException
what happened when you called setRenderBodyOnly(false)? -igor On Wed, Apr 30, 2008 at 10:20 AM, Michael Mehrle [EMAIL PROTECTED] wrote: I'm just having too much fun with RadioGroups lately. I've got a RadioGroup inside a panel, that's inside a modal. When clicking and saving the form I get the following exception: RROR RequestCycle] Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] java.lang.IllegalStateException: Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTar get.java:675) I even tried to set setRenderBodyOnly(false), which didn't work. Any input would be appreciated. Thanks, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException
Actually, this seems like a false alarm. I set it but didn't do a 'clean' - once I cleaned/restarted the app it was gone. Strange thought that I would have to set it to false in the first place... Thanks! Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 11:00 AM To: users@wicket.apache.org Subject: Re: RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException what happened when you called setRenderBodyOnly(false)? -igor On Wed, Apr 30, 2008 at 10:20 AM, Michael Mehrle [EMAIL PROTECTED] wrote: I'm just having too much fun with RadioGroups lately. I've got a RadioGroup inside a panel, that's inside a modal. When clicking and saving the form I get the following exception: RROR RequestCycle] Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] java.lang.IllegalStateException: Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = FooSchedule.intervalOfMonth, page = com.bar.Foo.web.create.CreateFooPage, path = 6:FooTabbedPanel:panel:recurringFooModalWindow:content:submitForm:monthl yLayer:FooSchedule.intervalOfMonth.RadioGroup, isVisible = true, isVersioned = false]] at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTar get.java:675) I even tried to set setRenderBodyOnly(false), which didn't work. Any input would be appreciated. Thanks, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]