[
https://jira.jboss.org/jira/browse/RF-5512?page=com.atlassian.jira.plugin...
]
Christopher Shubert commented on RF-5512:
-----------------------------------------
Oops! The fix, above, makes Firefox work but breaks IE.
Here is a fix that works for both:
7 if (rules[i].selectorText && rules[i].selectorText.toLowerCase() ==
(className.toLowerCase())) {
Apparently the type numbers are not common between IE and Firefox, so instead we test for
element presence.
Sorry about the bobble. Hope this fix arrives in time.
Scrollable DataTable cannot be used when adding @charset statement to
css files.
--------------------------------------------------------------------------------
Key: RF-5512
URL:
https://jira.jboss.org/jira/browse/RF-5512
Project: RichFaces
Issue Type: Bug
Components: ScrollableDataTable
Affects Versions: 3.2.2
Environment: windows xp + glassfish v2u2 + jdk 1.6
Reporter: Rong Tao
Assignee: Tsikhon Kuprevich
Fix For: 3.3.1
This is a very strange bug, when I add a statement '@charset "utf-8"'
to a css file or the css section of the xhtml file, the Scrollable DataTable becomes very
strange and cannot be used, the problems are:
1. the table header is not displayed.
2. scroll bar is not displayed.
3. cannot select any rows.
4. the 1st and 2nd columns are overlap.
Very easy to reproduce: download and deploy the demo scrollableDataTable.xhtml and
DataTableScrollerBean.java; then add '@charset "utf-8"' to
scrollableDataTable.xhtml, the <style> section of the page should be like this:
<style>
@charset "utf-8";
.scrolls{
width:300px;
height:200px;
overflow:auto;
}
</style>
Refresh the page and you will see the problems.
Not only "utf-8", other charset such as "iso-8859-1" can also cause
the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira