]
Juraj Húska edited comment on RF-13790 at 8/19/14 8:18 AM:
-----------------------------------------------------------
My question is how do we want to change this ?
Do we want filtering enabled in this sample ? IMHO it is better to not have it. There are
other samples which demonstrates build in sorting, filtering. This example should
demonstrate the styling option.
I can send a PR once I know what is the desired result ...
was (Author: jhuska):
My question is how do we want to change this ?
Do we want filtering enabled in this sample ? IMHO it is better to not have it. There are
other samples which demonstrates build in sorting, filtering. This example should
demonstrate the styling option.
Showcase - dataTable Styling example - broken styling after built in
sorting/filtering is enabled
-------------------------------------------------------------------------------------------------
Key: RF-13790
URL:
https://issues.jboss.org/browse/RF-13790
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: showcase
Affects Versions: 4.5.0.Beta1
Reporter: Juraj Húska
Please checkout the screenshot to see how the styling of the table is broken (every odd
row should have different background color).
There are multiple wrong places in the facelet for this example, which causes this break
of styling.
* code for first column uses attribute {{accept}}, which is not defined for RF4, there
should be {{filter}} instead
* there is typo in EL to reference a bean in the same place, there is
{{carsFiteringBean}}, instead of {{carsFilteringBean}}
* when I change this two things, the filtering does not work either, because in the
referenced filter implementation, the {{mileage}} or {{vendor}} is always {{null}}.