Primefaces 4.0-SNAPSHOT filterBy new syntax issue
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
4.0.3 brought full backward compatibility for sortBy-filterBy.
Please see;
http://blog.primefaces.org/?p=2960
Please see;
http://blog.primefaces.org/?p=2960
Indeed, we are migrating to 4.0, and after all, we are expiring the same restrictions in the filterBy & sortBy functionalities.
I agree with Ronald to release a 4.0.3 for everyone..
It wasn't really mentioned before that custom el (functions) could not be used anymore
If not, any idea when the next release for the community will be there ?
Regards
Luca
Code: Select all
sortBy="#{pf:customFormatDate(app.lastCommitteeDate)}"
It wasn't really mentioned before that custom el (functions) could not be used anymore
If not, any idea when the next release for the community will be there ?
Regards
Luca
PrimeFaces 3.5 | Mojarra 2.1.22 | JBoss 7.1.1
Hi Luca,
There is a 4.1 (community) planned in about 5 months. (see roadmap paragraph in this blog http://blog.primefaces.org/?p=2918)
But timing can change of course.
Rudy
There is a 4.1 (community) planned in about 5 months. (see roadmap paragraph in this blog http://blog.primefaces.org/?p=2918)
But timing can change of course.
Rudy
PrimeFaces version 3.5, Tomcat 7, Mojarra 2.1.13
PrimeFaces version 4.0, Glassfish 4.0
PrimeFaces version 5.0, WLS 12.1.2
If you haven't read the forum rules read them now : viewtopic.php?f=3&t=1194
PrimeFaces version 4.0, Glassfish 4.0
PrimeFaces version 5.0, WLS 12.1.2
If you haven't read the forum rules read them now : viewtopic.php?f=3&t=1194
Or that time atleast sortby&filterby changes might be added in the 4.0 community version along with elite releases.Because these features are basic features to all the users.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
I would like to point out that the issue is not entirely solved.
At least, it does not work for dynamic columns with sortMode="multiple"
Looking at the code, it seems that the problem is indeed sortMode="multiple":
https://code.google.com/p/primefaces/so ... re.java#64
A short test confirmed this: dynamic columns with sortMode = "single" works.
In my case, an exception is thown while calling
Which, I assume, is still using code which is not backward compatible to try and find a property on the bean, instead of storing and evaluating it as an EL later.
At least, it does not work for dynamic columns with sortMode="multiple"
Looking at the code, it seems that the problem is indeed sortMode="multiple":
https://code.google.com/p/primefaces/so ... re.java#64
A short test confirmed this: dynamic columns with sortMode = "single" works.
In my case, an exception is thown while calling
Code: Select all
table.resolveDynamicField(columnSortByVE)
Primefaces 4.0-SNAPSHOT from google code.
Tomcat 7.0.53
JSF 2.2.5
Tomcat 7.0.53
JSF 2.2.5
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
5.0 has field attribute, when defined field is not attempted to be resolved by parsing the expression but from the field attribute. Fixed many limitations.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 47 guests