You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/05/28 04:11:45 UTC

[jira] Resolved: (TOMAHAWK-1126) Using facet name="caption" in an Extended Datatable generates caption tags twice.

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1126.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.9-SNAPSHOT

> 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.7, 1.1.8
>            Reporter: Joseph Wilwayco
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.9-SNAPSHOT
>
>
> 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.