The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Teddy C
)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)

at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 
   
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)   
 
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)   
 
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)




-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/The-component-s-below-failed-to-render-BasePage-components-are-not-rendering-tp3234751p3234751.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: The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Martin Sachs
hi,

i dont see problems in the markup. Can u please post some
java-components ? Do you have called super. ... -methodes (e.g.
onInitialize)

martin

Am 24.01.2011 20:19, schrieb Teddy C:
 Using the Wicket Phonebook as a base, I am having problem dispalyng the
 EditContactPage. To the BasePage I add user and role and a Session to save
 the login user and role. The listContactPage wich extends the BasePage works
 fine. The EditContactPage which also extends the Basepage, is mot able to
 display the EditContactPage, failing to render the Components that are
 defined in the BasePage.

 I would appreciate if someone has any idea of a  solution to this problem.

 BasePage.Html
 html
   head
   titleWicket Phonebook/title
   link rel=stylesheet type=text/css href=styles.css/
   
   /head
   body
   div
   Login Name:
   
   /div
   div
   Login Role: 
   
   /div
   div wicket:id=status class=status[[status 
 messages]]/div
   wicket:child/
   /body
 /html

 ListContactpage:
 html xmlns:wicket
 wicket:extend
 form wicket:id=filter-form
   input type=hidden name=tracker wicket:id=focus-tracker/
   table wicket:id=cars cellspacing=0 cellpadding=2 class=grid
   /table
   [call to focus restore script]
   input wicket:id=delete-selected value=PROCEED TO APPROVAL STAGE
 type=submit/
 /form

 /wicket:extend
 /html

 EditContactPage:
 html xmlns:wicket
 wicket:extend
 form wicket:id=contactForm
 table cellspacing=0 cellpadding=2
 tr
   tdwicket:message
 key=passenger[passenger]/wicket:message/tdtdlabel
 wicket:id=passenger size=30//td
 /tr
 tr
   tdwicket:message
 key=costcenter[costcenter]/wicket:message/tdtdinput type=text
 wicket:id=costcenter size=5 maxlength=6//td
 /tr
 tr
   tdwicket:message 
 key=car_no[car_no]/wicket:message/tdtdlabel
 wicket:id=car_no size=30//td
 /tr
 tr
   tdwicket:message 
 key=pu_addr[pu_addr]/wicket:message/tdtdlabel
 wicket:id=pu_addr size=30//td
 /tr
 tr
   tdwicket:message
 key=dest_addr[dest_addr]/wicket:message/tdtdlabel
 wicket:id=dest_addr size=30//td
 /tr
 tr
   tdwicket:message key=rate[rate]/wicket:message/tdtdlabel
 wicket:id=rate size=30//td
 /tr
 tr
   tdwicket:message key=toll[toll]/wicket:message/tdtdlabel
 wicket:id=toll size=30//td
 /tr
 tr
   tdwicket:message key=wait[wait]/wicket:message/tdtdlabel
 wicket:id=wait size=30//td
 /tr
 tr
   tdwicket:message key=stops[stops]/wicket:message/tdtdlabel
 wicket:id=stops size=30//td
 /tr
 tr
 tr
   tdwicket:message key=other[other]/wicket:message/tdtdlabel
 wicket:id=other size=30//td
 /tr
 tr
 tr
   tdwicket:message 
 key=wc2pct[wc2pct]/wicket:message/tdtdlabel
 wicket:id=wc2pct size=30//td
 /tr
 tr
 tr
   tdwicket:message key=total[total]/wicket:message/tdtdlabel 
 wicket:id=total size=10//td
 /tr
 tr
   tdnbsp;/tdtdinput type=submit wicket:id=save value=[save]
   input type=submit wicket:id=cancel value=[cancel]//td
 /tr
 /table
 /form
 /wicket:extend
 /html

 ERROR:
 WicketMessage: The component(s) below failed to render. A common problem is
 that you have added a component in code but forgot to reference it in the
 markup (thus the component will never be rendered).1. [MarkupContainer
 [Component id = status]]2. [Component id = Name]3. [Component id = Role]Root
 cause:org.apache.wicket.WicketRuntimeException: The component(s) below
 failed to render. A common problem is that you have added a component in
 code but forgot to reference it in the markup (thus the component will never
 be rendered).1. [MarkupContainer [Component id = status]]2. [Component id =
 Name]3. [Component id = Role] at
 org.apache.wicket.Page.checkRendering(Page.java:1182) at
 org.apache.wicket.Page.renderPage(Page.java:922) at
 org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:167)
 
 at
 org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:58)
 
 at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 
 at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
 
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at
 org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at
 org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
 at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)  
   
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
 at