[
https://issues.apache.org/jira/browse/TOMAHAWK-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe reopened TOMAHAWK-1126:
--------------------------------------
Assignee: Leonardo Uribe
Reopened because conditions where this issue occur appear (not on tomahawk but
on tomahawk core12)
> Using facet name="caption" in an Extended Datatable generates caption tags
> twice.
> ---------------------------------------------------------------------------------
>
> Key: TOMAHAWK-1126
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1126
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Affects Versions: 1.1.6
> Reporter: Joseph Wilwayco
> Assignee: Leonardo Uribe
>
> html:
> <t:dataTable id="currentImportsTable" headerClass="tableHeader"
> columnClasses="listRowLeft, listRowMid, listRowMid, listRowMid, listRowMid,
> listRowMid, listRowMid, listRowMid, listRowRight" rowClasses="listRow"
> value="#{advertiserHome.myJobs}" var="job" styleClass="listBox"
> cellpadding="0" cellspacing="0">
> <f:facet name="caption">
> <span jsfc="h:outputText">Current Imports</span>
> </f:facet>
> <h:column>
> <f:facet name="header">
> <span jsfc="h:outputText">File</span>
> </f:facet>
> <span jsfc="h:outputText">#{job.fileName}</span>
> </h:column>
> ...
> </t:dataTable>
> Example generated html:
> <table id="currentImportsTable" cellpadding="0" cellspacing="0"
> class="listBox">
> <caption>Current Imports</caption>
> <thead>
> <tr><th class="tableHeader" scope="col">File</th>
> <th class="tableHeader" scope="col">Creator</th>
> <th class="tableHeader" scope="col">Time Started</th>
> <th class="tableHeader" scope="col">Step</th>
> <th class="tableHeader" scope="col">Percent</th></tr>
> </thead>
> <caption>Current Imports</caption>
> <tbody id="currentImportsTable:tbody_element"></tbody>
> </table>
> Note: IE displays the dual captions. Firefox, Opera and Safari do not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.