common case for radiogroup is not to show up in markup, so it defaults to true
-igor On 4/30/08, Michael Mehrle <[EMAIL PROTECTED]> wrote: > 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: [email protected] > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
