Bug In Wicket Listing Using DataTables
--------------------------------------
Key: WICKET-956
URL: https://issues.apache.org/jira/browse/WICKET-956
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.3.0-beta4
Environment: Ubuntu
Eclipse
Jetty
Reporter: Carlo M. Camerino
I Keep on getting This Error For Every LIsting Page When I switched from
1.0-beta2 to 1.0-beta3
WicketMessage: Expected close tag for <th class="wicket_orderNone"
wicket:id="header">
[markup =
jar:file:/home/carloc/.m2/repository/org/apache/wicket/wicket-extensions/1.3.0-beta3/wicket-extensions-1.3.0-beta3.jar!/org/apache/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<wicket:panel>
<tr class="headers">
<span wicket:id="headers">
<th wicket:id="header"><span wicket:id="label">[header-label]</span></th>
</span>
</tr>
</wicket:panel>, index = 6, current = '<span wicket:id="label">' (line 20,
column 27)]
Root cause:
org.apache.wicket.markup.MarkupException: Expected close tag for <th
class="wicket_orderNone" wicket:id="header">
[markup =
jar:file:/home/carloc/.m2/repository/org/apache/wicket/wicket-extensions/1.3.0-beta3/wicket-extensions-1.3.0-beta3.jar!/org/apache/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<wicket:panel>
<tr class="headers">
<span wicket:id="headers">
<th wicket:id="header"><span wicket:id="label">[header-label]</span></th>
</span>
</tr>
</wicket:panel>, index = 6, current = '<span wicket:id="label">' (line 20,
column 27)]
at
org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:472)
at org.apache.wicket.Component.renderClosingComponentTag(Component.java:3748)
at org.apache.wicket.Component.renderComponent(Component.java:2197)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1305)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at
org.apache.wicket.markup.repeater.AbstractRepeater.renderChild(AbstractRepeater.java:115)
at
org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:96)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:642)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1305)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at
org.apache.wicket.markup.repeater.AbstractRepeater.renderChild(AbstractRepeater.java:115)
at
org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:96)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:642)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1305)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1305)
at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1580)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1619)
at org.apache.wicket.Component.render(Component.java:2013)
at
org.apache.wicket.markup.html.border.Border$BorderBodyContainer.resolve(Border.java:366)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1211)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1305)
at
org.apache.wicket.markup.html.border.Border$BorderBodyContainer.onComponentTagBody(Border.java:347)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1370)
at
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:642)
at
org.apache.wicket.markup.html.border.Border.onComponentTagBody(Border.java:284)
at org.apache.wicket.Component.renderComponent(Component.java:2189)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1315)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1200)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1332)
at org.apache.wicket.Page.onRender(Page.java:1433)
at org.apache.wicket.Component.render(Component.java:2013)
at org.apache.wicket.Page.renderPage(Page.java:922)
at
org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:165)
at
org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:59)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1038)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1108)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1177)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:500)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:261)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:127)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Markup
The problem is in
"jar:file:/home/carloc/.m2/repository/org/apache/wicket/wicket-extensions/1.3.0-beta3/wicket-extensions-1.3.0-beta3.jar!/org/apache/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html":
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<wicket:panel>
<tr class="headers">
<span wicket:id="headers">
<th wicket:id="header"><span
wicket:id="label">[header-label]</span></th>
</span>
</tr>
</wicket:panel>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.