This content has been marked as final.
Show 3 replies
-
1. Re: How to highlight rows in a rich:extendedDataTable when t
ilya_shaikovsky Sep 3, 2009 4:12 AM (in response to magix)2) If I convert the table to a rich:dataTable it works
in my java-code, I find an object of type org.richfaces.skin.SkinBean but the keySet of it is null.
I confused with how it works for dataTable if you talking later that it's not resolved correctly at all.<rich:extendedDataTable onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
works for me fine for extendedDataTable. -
2. Re: How to highlight rows in a rich:extendedDataTable when t
magix Sep 3, 2009 5:09 AM (in response to magix)Hi,
if I put thisonRowMouseOver="this.style.font = 'bold 30pt Arial'" onRowMouseOut="this.style.font='30pt Arial'"
on rich:extendedDataTable it works, but if I try to useonRowMouseOut="this.style.font='#{a4jSkin.tableFont}'"
then I get a Javascript error and the onRowMouse-event does not occur.
It doesn't find #{a4jSkin.tableFont} (if I output this expression via h:outputText it's void).
If I try <h:outputText value="#{a4jSkin}" /> I see the output shown in my original post (that means that the a4jSkin variable is found).
If I try to output <h:outputText value="#{a4jSkin.warningBackgroundColor}" /> it doesn't output anything althought for #{a4jSkin} I seeSkin: SkinImpl: {warningBackgroundColor=#FF0000, ...
So I don't understand:
a) which properties can I use on a4jSkin
b) what does the output (for #{a4jSkin})Skin: SkinImpl: {warningBackgroundColor=#FF0000,...
mean if I can't use<h:outputText value="#{a4jSkin.warningBackgroundColor}" />
?
Thx
Matthias -
3. Re: How to highlight rows in a rich:extendedDataTable when t
magix Sep 3, 2009 8:52 AM (in response to magix)
I'm sorry, my post is nonsense.
I had an error in my configuration-files,
now it works as expected.
I apologize
Matthias