You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Juan Montoya (JIRA)" <de...@myfaces.apache.org> on 2008/10/17 21:27:44 UTC
[jira] Created: (MYFACES-2013) h:dataTable renders caption facet
twice on ear projects
h:dataTable renders caption facet twice on ear projects
-------------------------------------------------------
Key: MYFACES-2013
URL: https://issues.apache.org/jira/browse/MYFACES-2013
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 1.2.4
Environment: Ubuntu Linux 8.04, Glassfish V2 server, Netbeans IDE 6.1
Reporter: Juan Montoya
This bug does not happen on standalone war projects but in .ear projects which contain a war project using MyFaces.
JSP code like this:
[...]
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
[...]
<h:dataTable...>
<f:facet name="caption">
<h:outputText value="this is the caption"/>
</f:facet>
<h:column>
<f:facet name="header">
<h:outputText value="this is a header"/>
</f:facet>
[...]
</h:column>
[...]
</h:dataTable>
Renders the caption facet twice:
<table><caption/><thead/><caption/><tbody/></table>
There must be only one <caption> element; firefox and safari gracefully ignore the second caption, but in Internet Explorer and Opera, the caption appears twice.
The following link includes a sample netbeans application and a list of the libraries used.
http://rapidshare.com/files/154981138/dblcaption.tar.gz.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MYFACES-2013) h:dataTable renders caption facet
twice on ear projects
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-2013.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.7-SNAPSHOT
Assignee: Leonardo Uribe
> h:dataTable renders caption facet twice on ear projects
> -------------------------------------------------------
>
> Key: MYFACES-2013
> URL: https://issues.apache.org/jira/browse/MYFACES-2013
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.2.4
> Environment: Ubuntu Linux 8.04, Glassfish V2 server, Netbeans IDE 6.1
> Reporter: Juan Montoya
> Assignee: Leonardo Uribe
> Fix For: 1.2.7-SNAPSHOT
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This bug does not happen on standalone war projects but in .ear projects which contain a war project using MyFaces.
> JSP code like this:
> [...]
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
> [...]
> <h:dataTable...>
> <f:facet name="caption">
> <h:outputText value="this is the caption"/>
> </f:facet>
> <h:column>
> <f:facet name="header">
> <h:outputText value="this is a header"/>
> </f:facet>
> [...]
> </h:column>
> [...]
> </h:dataTable>
> Renders the caption facet twice:
> <table><caption/><thead/><caption/><tbody/></table>
> There must be only one <caption> element; firefox and safari gracefully ignore the second caption, but in Internet Explorer and Opera, the caption appears twice.
> The following link includes a sample netbeans application and a list of the libraries used.
> http://rapidshare.com/files/154981138/dblcaption.tar.gz.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2013) h:dataTable renders caption facet
twice on ear projects
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713832#action_12713832 ]
Leonardo Uribe commented on MYFACES-2013:
-----------------------------------------
The error comes from MYFACES-1613. Caption code was added twice, without notice it. The solution is remove the line causing it and redirect in proper way HtmlTableRendererBase.renderCaptionFacet
> h:dataTable renders caption facet twice on ear projects
> -------------------------------------------------------
>
> Key: MYFACES-2013
> URL: https://issues.apache.org/jira/browse/MYFACES-2013
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.2.4
> Environment: Ubuntu Linux 8.04, Glassfish V2 server, Netbeans IDE 6.1
> Reporter: Juan Montoya
> Fix For: 1.2.7-SNAPSHOT
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This bug does not happen on standalone war projects but in .ear projects which contain a war project using MyFaces.
> JSP code like this:
> [...]
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
> [...]
> <h:dataTable...>
> <f:facet name="caption">
> <h:outputText value="this is the caption"/>
> </f:facet>
> <h:column>
> <f:facet name="header">
> <h:outputText value="this is a header"/>
> </f:facet>
> [...]
> </h:column>
> [...]
> </h:dataTable>
> Renders the caption facet twice:
> <table><caption/><thead/><caption/><tbody/></table>
> There must be only one <caption> element; firefox and safari gracefully ignore the second caption, but in Internet Explorer and Opera, the caption appears twice.
> The following link includes a sample netbeans application and a list of the libraries used.
> http://rapidshare.com/files/154981138/dblcaption.tar.gz.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2013) h:dataTable renders caption facet
twice on ear projects
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713530#action_12713530 ]
Matthias Weßendorf commented on MYFACES-2013:
---------------------------------------------
have you done some debugging informations on why it is called twice ?
> h:dataTable renders caption facet twice on ear projects
> -------------------------------------------------------
>
> Key: MYFACES-2013
> URL: https://issues.apache.org/jira/browse/MYFACES-2013
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.2.4
> Environment: Ubuntu Linux 8.04, Glassfish V2 server, Netbeans IDE 6.1
> Reporter: Juan Montoya
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This bug does not happen on standalone war projects but in .ear projects which contain a war project using MyFaces.
> JSP code like this:
> [...]
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
> [...]
> <h:dataTable...>
> <f:facet name="caption">
> <h:outputText value="this is the caption"/>
> </f:facet>
> <h:column>
> <f:facet name="header">
> <h:outputText value="this is a header"/>
> </f:facet>
> [...]
> </h:column>
> [...]
> </h:dataTable>
> Renders the caption facet twice:
> <table><caption/><thead/><caption/><tbody/></table>
> There must be only one <caption> element; firefox and safari gracefully ignore the second caption, but in Internet Explorer and Opera, the caption appears twice.
> The following link includes a sample netbeans application and a list of the libraries used.
> http://rapidshare.com/files/154981138/dblcaption.tar.gz.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2013) h:dataTable renders caption facet
twice on ear projects
Posted by "Torsten Liermann (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713522#action_12713522 ]
Torsten Liermann commented on MYFACES-2013:
-------------------------------------------
Hi,
please fix this. I have the same problem with tomahawk12-1.1.8.
See also JIRA TOMAHAWK-1126
Thanks
Torsten
> h:dataTable renders caption facet twice on ear projects
> -------------------------------------------------------
>
> Key: MYFACES-2013
> URL: https://issues.apache.org/jira/browse/MYFACES-2013
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.2.4
> Environment: Ubuntu Linux 8.04, Glassfish V2 server, Netbeans IDE 6.1
> Reporter: Juan Montoya
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This bug does not happen on standalone war projects but in .ear projects which contain a war project using MyFaces.
> JSP code like this:
> [...]
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
> [...]
> <h:dataTable...>
> <f:facet name="caption">
> <h:outputText value="this is the caption"/>
> </f:facet>
> <h:column>
> <f:facet name="header">
> <h:outputText value="this is a header"/>
> </f:facet>
> [...]
> </h:column>
> [...]
> </h:dataTable>
> Renders the caption facet twice:
> <table><caption/><thead/><caption/><tbody/></table>
> There must be only one <caption> element; firefox and safari gracefully ignore the second caption, but in Internet Explorer and Opera, the caption appears twice.
> The following link includes a sample netbeans application and a list of the libraries used.
> http://rapidshare.com/files/154981138/dblcaption.tar.gz.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.