Re: [Wicket-user] Loop element with panels that have FormComponents
That worked. THank you Gennadiy [EMAIL PROTECTED] [EMAIL PROTECTED] Sent by: To wicket-user-bounc wicket-user@lists.sourceforge.net@I [EMAIL PROTECTED] nternet rge.netcc Subject 09/15/2006 02:09 Re: [Wicket-user] Loop element with PMpanels that have FormComponents Please respond to [EMAIL PROTECTED] .sourceforge.net@ Internet loop generally shouldnt be used because you will run into problems with losing state when validation fails, but that does not cause an exception. to avoid the state loss issue use a listview with setReuseItems(true) called on it. if you want help with this i think you need to recreate the problem in a quickstart project so we can debug it on our systems. -Igor On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I did and I did see the fragment example, but in my case I am dealing with the subclasses of the panel class being attached to the item element of the list. If the panel has lables only it works, but in case I put there a textfield it dies. Does it mean I should not be using Loop to loop over panels that have formComponents? Thank you Gennadiy [EMAIL PROTECTED] [EMAIL PROTECTED] Sent by: To wicket-user-bounc wicket-user@lists.sourceforge.net@I [EMAIL PROTECTED] nternet rge.net cc Subject 09/15/2006 01:26 Re: [Wicket-user] Loop element with PMpanels that have FormComponents Please respond to [EMAIL PROTECTED] .sourceforge.net@ Internet can we get a quickstart please? -Igor On 9/15/06, [EMAIL PROTECTED] < [EMAIL PROTECTED] > wrote: Hello, I have the problem whereI have to display a form that has list of panels where every panel has a bunch of form components. It looks like if my panel has only labels and I use a Loop component everythig works. But at the moment I start using a TextField components on my panel that is rendered multiple times, I am starting to get the following exception when I submit back to the page to process the data: Unexpected RuntimeException WicketMessage: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list: 0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] Root cause: wicket.markup.MarkupException: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)]
Re: [Wicket-user] Loop element with panels that have FormComponents
loop generally shouldnt be used because you will run into problems with losing state when validation fails, but that does not cause an exception.to avoid the state loss issue use a listview with setReuseItems(true) called on it. if you want help with this i think you need to recreate the problem in a quickstart project so we can debug it on our systems.-IgorOn 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I did and I did see the fragment example, but in my case I am dealing withthe subclasses of the panel class being attached to the item element of thelist. If the panel has lables only it works, but in case I put there a textfield it dies. Does it mean I should not be using Loop to loop overpanels that have formComponents?Thank youGennadiy [EMAIL PROTECTED] [EMAIL PROTECTED] Sent by: To wicket-user-bounc wicket-user@lists.sourceforge.net@I [EMAIL PROTECTED] nternet rge.netcc Subject 09/15/2006 01:26 Re: [Wicket-user] Loop element with PMpanels that have FormComponents Please respond to [EMAIL PROTECTED] .sourceforge.net@ Internetcan we get a quickstart please?-Igor On 9/15/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hello, I have the problem whereI have to display a form that has list of panels where every panel has a bunch of form components. It looks like if my panel has only labels and I use a Loop component everythig works. But at the moment I start using a TextField components on my panel that is rendered multiple times, I am starting to get the following exception when I submit back to the page to process the data: Unexpected RuntimeException WicketMessage: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list: 0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] Root cause: wicket.markup.MarkupException: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)]at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:290) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1381)at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 )at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917)at wicket.Component.renderComponent(Component.java:1696)at wicket.MarkupContainer.onRender(MarkupContainer.java:927)at wicket.Component.render(Component.java :1532)at wicket.markup.html.list.Loop.renderItem(Loop.java:201)at wicket.markup.html.list.Loop.onRender(Loop.java:176)at wicket.Component.render(Component.java:1532)at wicket.MarkupContainer.renderNext(MarkupContainer.java:1334)at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 )at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917)at wicket.markup.html.form.Form.onComponentTagBody(Form.java:773)at wicket.Component.renderComponent(Component.java:1696)at wicket.MarkupContainer.onRender (MarkupContainer.java:927)at wicket.markup.html.form.Form.onRender(Form.java:844)at wicket.Component.render(Component.java:1532)at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334)at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 )at wicket.MarkupCo
Re: [Wicket-user] Loop element with panels that have FormComponents
I did and I did see the fragment example, but in my case I am dealing with the subclasses of the panel class being attached to the item element of the list. If the panel has lables only it works, but in case I put there a textfield it dies. Does it mean I should not be using Loop to loop over panels that have formComponents? Thank you Gennadiy [EMAIL PROTECTED] [EMAIL PROTECTED] Sent by: To wicket-user-bounc wicket-user@lists.sourceforge.net@I [EMAIL PROTECTED] nternet rge.netcc Subject 09/15/2006 01:26 Re: [Wicket-user] Loop element with PMpanels that have FormComponents Please respond to [EMAIL PROTECTED] .sourceforge.net@ Internet can we get a quickstart please? -Igor On 9/15/06, [EMAIL PROTECTED] < [EMAIL PROTECTED] > wrote: Hello, I have the problem whereI have to display a form that has list of panels where every panel has a bunch of form components. It looks like if my panel has only labels and I use a Loop component everythig works. But at the moment I start using a TextField components on my panel that is rendered multiple times, I am starting to get the following exception when I submit back to the page to process the data: Unexpected RuntimeException WicketMessage: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] Root cause: wicket.markup.MarkupException: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:290) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1381) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917) at wicket.Component.renderComponent(Component.java:1696) at wicket.MarkupContainer.onRender(MarkupContainer.java:927) at wicket.Component.render(Component.java :1532) at wicket.markup.html.list.Loop.renderItem(Loop.java:201) at wicket.markup.html.list.Loop.onRender(Loop.java:176) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1334) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917) at wicket.markup.html.form.Form.onComponentTagBody(Form.java:773) at wicket.C
Re: [Wicket-user] Loop element with panels that have FormComponents
can we get a quickstart please?-IgorOn 9/15/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hello,I have the problem whereI have to display a form that has list of panels where every panel has a bunch of form components. It looks like if my panelhas only labels and I use a Loop component everythig works. But at themoment I start using a TextField components on my panel that is rendered multiple times, I am starting to get the following exception when I submitback to the page to process the data:Unexpected RuntimeException WicketMessage: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] Root cause: wicket.markup.MarkupException: Unable to find component with id 'panel' in [MarkupContainer [Component id = 0, page = com.marsh.itg.deepa.presentation.app.view.page.application.DependentIn foPage, path = 1:DependentInfoPageForm:list:0.Loop$LoopItem, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=panel in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/cl asses/com/marsh/itg/deepa/presentation/app/view/page/application/Depen dentInfoPage.html, index = 16, current = '' (line 27, column 11)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:290) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1381) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917) at wicket.Component.renderComponent(Component.java:1696) at wicket.MarkupContainer.onRender(MarkupContainer.java:927) at wicket.Component.render(Component.java :1532) at wicket.markup.html.list.Loop.renderItem(Loop.java:201) at wicket.markup.html.list.Loop.onRender(Loop.java:176) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1334) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody (MarkupContainer.java:917) at wicket.markup.html.form.Form.onComponentTagBody(Form.java:773) at wicket.Component.renderComponent(Component.java:1696) at wicket.MarkupContainer.onRender (MarkupContainer.java:927) at wicket.markup.html.form.Form.onRender(Form.java:844) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:917) at wicket.Component.renderComponent (Component.java:1696) at wicket.MarkupContainer.onRender(MarkupContainer.java:927) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:917) at wicket.Component.renderComponent (Component.java:1696) at wicket.MarkupContainer.onRender(MarkupContainer.java:927) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982 ) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:917) at wicket.Component.renderComponent (Component.java:1696) at wicket.MarkupContainer.onRender(MarkupContainer.java:927) at wicket.Component.render(Component.java:1532) at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334) at wicket.MarkupContainer.renderAll(MarkupContainer.java:944) at wicket.Page.onRender(Page.java:861) at wicket.Component.render(Component.java:1532) at wicket.Page.renderPage (Page.java:410) at wicket.request.target.component.PageRequestTarget.respond(