I've got that exception in cases where the generated HTML is not valid
XML. I didn't have time to dig into this but closing the tag with valid
xml, like </> or </close> solved the problem.
Ralf Ebert wrote:
Hi,
I'm seeing this exception when leaving a page via setResponsePage
(concreteOtherPage) from a link component... The markup is alright
and the error is "missing" something from the markup of the page
which is left at that very moment (I don't even know why wicket looks
at the markup of that site again...). I couldn't boil this in a
little example so probably I'm doing something wrong. I just have no
idea what, I'm really sure that the markup is valid... Any ideas?
wicket.markup.MarkupException: Tag expected
[markup = file:/Users/ralf/Jobs/.../somemarkupfile.html, index = 120,
current = [Raw markup]]
at wicket.markup.MarkupStream.throwMarkupException
(MarkupStream.java:277)
at wicket.markup.MarkupStream.getTag(MarkupStream.java:169)
at wicket.Component.renderComponent(Component.java:1863)
at wicket.markup.html.WebMarkupContainer.onRender
(WebMarkupContainer.java:77)
at wicket.Component.render(Component.java:1163)
at wicket.markup.html.HtmlHeaderContainer.resolve
(HtmlHeaderContainer.java:196)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1159)
at wicket.MarkupContainer.renderComponentTagBody
(MarkupContainer.java:811)
at wicket.MarkupContainer.onComponentTagBody
(MarkupContainer.java:753)
at wicket.markup.html.HtmlHeaderContainer.onComponentTagBody
(HtmlHeaderContainer.java:110)
at wicket.Component.renderComponent(Component.java:1888)
at wicket.markup.html.WebMarkupContainer.onRender
(WebMarkupContainer.java:77)
at wicket.Component.render(Component.java:1163)
at wicket.MarkupContainer.autoAdd(MarkupContainer.java:170)
at wicket.markup.html.HtmlHeaderResolver.resolve
(HtmlHeaderResolver.java:73)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1146)
at wicket.MarkupContainer.renderAll(MarkupContainer.java:779)
at wicket.Page.onRender(Page.java:788)
at wicket.Component.render(Component.java:1163)
at wicket.Page.doRender(Page.java:251)
at wicket.protocol.http.WebRequestCycle.redirectTo
(WebRequestCycle.java:276)
at wicket.RequestCycle.respond(RequestCycle.java:934)
at wicket.RequestCycle.request(RequestCycle.java:411)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
[...]
Regards,
Ralf
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
__________ NOD32 1.1187 (20050805) Information __________
This message was checked by NOD32 Antivirus System.
http://www.nod32.com
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user