rich:dataTable has width attribute so that you don't need to pass it with css.
Tested 4.0.0 M5) and not working either.
What I have tested that works is adding a styleClass attribute, with an inline style defined jsut above (like the examples do in the showcase).
/// Some code for column definitions
What is curious is that the styleClass attribute will apply the style to the Table generated whereas the style attribute applies it to the tbody only.
Also, checking the "rich.taglib.xml" file for M5, I didn't find any attribute definition for style and width. Is there some trick here to see all the possible attributes available?
Thank you for your help again!
please try with latest snapshot. We fixed issues with classes and styles applied in the end of previous week.
Hm. Actually I thought that this attribute should be present because it always worked in RF 3.x_x. So I think that RF team will answer you better on this question. =)
Tried the latest snapshot but it does not perform correctly: seems like my ajax events are not sent correctly (Partial page rerendering does not work where it was working with M5).
By the way, in order to have JBoss start with the latest snapshot, I had to add a new dependency to the pack: javax.validation.validation-api : 1.0.0.GA
Anyway, a different matter then. I'll just stick to the M5 with the "styleClass" alternative for now.