-
1. rich:dataTable style not applied ? - 4.0.0 M5
ilya40umov Jan 24, 2011 8:36 AM (in response to jerarckill)Hi,
rich:dataTable has width attribute so that you don't need to pass it with css.
-
2. rich:dataTable style not applied ? - 4.0.0 M5
jerarckill Jan 24, 2011 8:49 AM (in response to ilya40umov)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).
<style>
.fullSize{
width: 100%;
}
</style>
<rich:dataTable var="currentEvent"
rendered="#{!empty multiCriteriaSearchBean.results}"
value="#{multiCriteriaSearchBean.results}" styleClass="fullSize">
/// Some code for column definitions
</rich:dataTable>
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!
-
3. rich:dataTable style not applied ? - 4.0.0 M5
ilya_shaikovsky Jan 24, 2011 8:53 AM (in response to jerarckill)please try with latest snapshot. We fixed issues with classes and styles applied in the end of previous week.
-
4. rich:dataTable style not applied ? - 4.0.0 M5
ilya40umov Jan 24, 2011 8:53 AM (in response to jerarckill)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. =)
-
5. rich:dataTable style not applied ? - 4.0.0 M5
jerarckill Jan 24, 2011 10:00 AM (in response to ilya_shaikovsky)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.
-
6. rich:dataTable style not applied ? - 4.0.0 M5
ppitonak Jan 25, 2011 6:36 AM (in response to jerarckill)Hi,
I've just verified that attribute style doesn't work in snapshot. I reported the issue in Jira https://issues.jboss.org/browse/RF-10290. It will be fixed asap.
Regards,
Palo