You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan Schueffler (JIRA)" <ji...@apache.org> on 2009/12/15 18:06:18 UTC

[jira] Commented: (WICKET-2620) CLONE -DataTable does not generate "thead" tag

    [ https://issues.apache.org/jira/browse/WICKET-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790823#action_12790823 ] 

Stefan Schueffler commented on WICKET-2620:
-------------------------------------------

Hi
this is just to ensure that the issue is still open (and therefore not resolved), as i have no permission to reopen closed issues.

The DataTable-component erroneously emits as many thead and tfoot sections as there are top- and footer-toolbars added to the table.
Although there might be many tbody-elements, the thead and tfoot is only allowed at most one time per table.

The supplied patch in the original issue seems to resolve this, as my own patch looks exactly the same.

Regards

Stefan

> CLONE -DataTable does not generate "thead" tag
> ----------------------------------------------
>
>                 Key: WICKET-2620
>                 URL: https://issues.apache.org/jira/browse/WICKET-2620
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.3
>            Reporter: Stefan Schueffler
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.4, 1.5-M1
>
>
> The tables generated by DataTable component in the current version of Wicket (1.4.3) do not contain <thead> in the output HTML.
> It was working correctly in wicket 1.4.0 but there were some changes to fix other issues - see WICKET-2436
> To replicate - launch the wicket-examples-1.4.3.war and look at the DataTable example:
> http://localhost:8081/wicket-examples-1.4.3/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
> If you check the HTML source you will see it does not contain thead tag:
> {html}
> <table class="dataview" cellspacing="0">
> 	<tr class="navigation">
> {html}
> When you look at http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
> it shows:
> {html}
> <table class="dataview" cellspacing="0">
> <thead>
> 	<tr class="navigation">
> {html}
> Must be a previous version? :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.