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
PM panels 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 = '<span wicket:id="panel">'
(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 = '<span wicket:id="panel">'
(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(PageRequestT
arget.java:67)
at
wicket.request.compound.DefaultResponseStrategy.respond(DefaultRespons
eStrategy.java:49)
at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(
AbstractCompoundRequestCycleProcessor.java:66)
at
wicket.RequestCycle.doProcessEventsAndRespond
(RequestCycle.java:858)
at
wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:885)
at wicket.RequestCycle.step(RequestCycle.java:966)
at wicket.RequestCycle.steps( RequestCycle.java:1040)
at wicket.RequestCycle.request(RequestCycle.java:454)
at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:216)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(
ServletStubImpl.java :1072)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
l.java:465)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
l.java:348)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
.run(WebAppServletContext.java:6981)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs
(Authenticated
Subject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
21)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppSer
vletContext.java:3892)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImp
l.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java
:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Markup
The problem is in "
file:/C:/workspace/itg/projects/ddeepa/presentation/context/WEB-INF/classes/com/marsh/itg/deepa/presentation/app/view/page/application/DependentInfoPage.html
":
<html�xmlns:wicket="http://wicket.sourceforge.net/">����<head>
<title>My�Account�</title>����</head>����<body>����<div�wicket:id="fee
dback"�/>����<table�width="80%">
����<tr><td>��������
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user