Re: Expected close tag for wicket:link ??

2009-03-06 Thread Edwin Ansicodd

My error came from a missing a closing /wicket:link tag.

wicket:link/wicket:link



Erik van Oosten wrote:
 
 You will also get this error when you accidentally use a WebComponent 
 instead of a WebMarkupContainer. The first does not allow embedded 
 content and will therefor issue this error.
 
 Regards,
 Erik.
 
 
 
 Edwin Ansicodd wrote:
 I find this error in my log file when a wicket page loads.  Would anyone
 know
 what causes this error?

 ERROR org.apache.wicket.RequestCycle  - unexpected exception when
 handling
 another exception: Expected close tag for wicket:link
   
 
 
 -- 
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Expected-close-tag-for-%3Cwicket%3Alink%3Etp22335083p22368030.html
Sent from the Wicket - User 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: Expected close tag for wicket:link ??

2009-03-05 Thread Edwin Ansicodd

Hello Thomas,

org.apache.wicket.markup.MarkupException: Expected close tag for
wicket:link
[markup = file:/C:/Programme/Apache Software
Foundation/geronimo-2.1.2/repository/default/test/app.war/WEB-INF/classes/com/path/app/web/pages/base/HomePage.html

then the html for the page HomePage.html is displayed
.
.
.
 /body/html, index = 114, current = [Raw markup]]
at
org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:464)
at
org.apache.wicket.Component.renderClosingComponentTag(Component.java:4035)
at org.apache.wicket.Component.renderComponent(Component.java:2427)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1354)
at org.apache.wicket.Component.render(Component.java:2256)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:222)
at
org.apache.wicket.markup.resolver.WicketLinkResolver.resolve(WicketLinkResolver.java:73)
at 
org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1267)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1407)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1344)
at org.apache.wicket.Component.renderComponent(Component.java:2419)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1354)
at org.apache.wicket.Component.render(Component.java:2256)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:222)
at
org.apache.wicket.markup.resolver.WicketLinkResolver.resolve(WicketLinkResolver.java:73)
at 
org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1267)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1407)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1344)
at org.apache.wicket.Component.renderComponent(Component.java:2419)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1354)
at org.apache.wicket.Component.render(Component.java:2256)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:222)
at
org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler.resolve(RelativePathPrefixHandler.java:183)
at 
org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1267)
at 
org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1370)
at org.apache.wicket.Page.onRender(Page.java:1442)
at org.apache.wicket.Component.render(Component.java:2256)
at org.apache.wicket.Page.renderPage(Page.java:891)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1100)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1248)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
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:447

Re: Expected close tag for wicket:link ??

2009-03-05 Thread Edwin Ansicodd

I've checked through the html and couldn't find anything unusual.

I'm making calls to wicket links in the html:

html # Customer /html
{how do we add html to a post?}

in the java:

 add(new BookmarkablePageLink(PageLink, CustomerPage.class));


The html for HomePage.html exists between wicket:extend

wicket:extend

.
.
.

/wicket:extend

HomePage.java extends a base page Base.java that in its html has most of the
html tags, the link tags and :

wicket:container wicket:id=content
  wicket:enclosure child=feedback   

/wicket:enclosure 
  wicket:child/   
/wicket:container 

which is inside where the HomePage.html is placed.
-- 
View this message in context: 
http://www.nabble.com/Expected-close-tag-for-%3Cwicket%3Alink%3Etp22335083p22349654.html
Sent from the Wicket - User 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: Expected close tag for wicket:link ??

2009-03-05 Thread Erik van Oosten
You will also get this error when you accidentally use a WebComponent 
instead of a WebMarkupContainer. The first does not allow embedded 
content and will therefor issue this error.


Regards,
   Erik.



Edwin Ansicodd wrote:

I find this error in my log file when a wicket page loads.  Would anyone know
what causes this error?

ERROR org.apache.wicket.RequestCycle  - unexpected exception when handling
another exception: Expected close tag for wicket:link
  



--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Expected close tag for wicket:link ??

2009-03-04 Thread Edwin Ansicodd

I find this error in my log file when a wicket page loads.  Would anyone know
what causes this error?

ERROR org.apache.wicket.RequestCycle  - unexpected exception when handling
another exception: Expected close tag for wicket:link
-- 
View this message in context: 
http://www.nabble.com/Expected-close-tag-for-%3Cwicket%3Alink%3Etp22335083p22335083.html
Sent from the Wicket - User 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: Expected close tag for wicket:link ??

2009-03-04 Thread Thomas Mäder
Seeing the whole stack trace might help!

Thomas

On Wed, Mar 4, 2009 at 6:34 PM, Edwin Ansicodd erik.g.hau...@gmail.comwrote:


 I find this error in my log file when a wicket page loads.  Would anyone
 know
 what causes this error?

 ERROR org.apache.wicket.RequestCycle  - unexpected exception when handling
 another exception: Expected close tag for wicket:link
 --
 View this message in context:
 http://www.nabble.com/Expected-close-tag-for-%3Cwicket%3Alink%3Etp22335083p22335083.html
 Sent from the Wicket - User 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




-- 
Wicket  Eclipse Consulting
www.devotek-it.ch
thomasmaeder.blogspot.com