[
http://issues.apache.org/jira/browse/MYFACES-547?page=comments#action_12330394
]
Sh Ma commented on MYFACES-547:
-------------------------------
Hi Martin,
I think you may want to reopen this issue again. Since I'm quite new to this
stuff (Ajax and JSF), I believe I may have erred in my initial assessment.
Unfortunately, when I checked the the HTML source, I went to Firefox's View >
Page Source option to check the HTML. I thought that the page source HTML and
thus the DOM would be immediately reflected using this option. I was
absolutely wrong - I should have used the DOM inspector... When I go to Tools
> DOM Inspector (which is probably the right way - I apologize for my
ignorance) and inspect the relevant tree (within the tbody element), the class
attribute values are NOT being rendered correctly. So for example, I have
something like this:
<TBODY id="main:xxx:tbody_element">
<TR class="">
<TD>
8969 </TD>
<TD/>
<TD>
DAP </TD>
<TD/>
</TR>
<TR class="">
<TD>
8986 </TD>
<TD/>
<TD>
DAP </TD>
<TD/>
</TR>
...
However, it should be:
<TBODY id="main:xxx:tbody_element">
<TR class="oddRowClass">
<TD>
8969 </TD>
<TD/>
<TD>
DAP </TD>
<TD/>
</TR>
<TR class="evenRowClass">
<TD>
8986 </TD>
<TD/>
<TD>
DAP </TD>
<TD/>
</TR>
...
Again, sorry for my ignorance - and hopefully, I'm not making a mistake again.
> Firefox fails to render autoUpdateDataTable styles specified by the
> rowClasses attribute
> ----------------------------------------------------------------------------------------
>
> Key: MYFACES-547
> URL: http://issues.apache.org/jira/browse/MYFACES-547
> Project: MyFaces
> Type: Bug
> Components: Sandbox
> Versions: Nightly Build
> Environment: Tested on Windows XP, IE 6.0 - nightly build from Sep. 7, 2005
> Reporter: Sh Ma
> Assignee: Martin Marinschek
> Priority: Minor
> Fix For: Nightly Build
>
> CSS styles specified by using the rowClasses attribute are not displayed.
> For example, I have something like:
> <x:autoUpdateDataTable rowClasses="oddRow,evenRow" ...
> Although both oddRow and evenRow are specified in the rendered HTML - for
> example:
> <tr class="oddRow">...
> ...Firefox doesn't render the rows according to the specified CSS style.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira