Primefaces 4.0-SNAPSHOT filterBy new syntax issue

UI Components for JSF
kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

05 Nov 2013, 17:53

Nice comment....

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Nov 2013, 00:34

4.0.3 brought full backward compatibility for sortBy-filterBy.

Please see;

http://blog.primefaces.org/?p=2960

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

06 Nov 2013, 00:48

and for the record, I was bening sarcastic (although I to did not like breaking backwardscompatibility in such a major way... maybe a 4.0a is an option? or 'just' provide 4.0.3 for free to everyone?

Luca_CTB
Posts: 85
Joined: 29 Nov 2012, 19:06
Location: Belgium

18 Nov 2013, 15:11

Indeed, we are migrating to 4.0, and after all, we are expiring the same restrictions in the filterBy & sortBy functionalities.

Code: Select all

sortBy="#{pf:customFormatDate(app.lastCommitteeDate)}"
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
PrimeFaces 3.5 | Mojarra 2.1.22 | JBoss 7.1.1

rubus
Posts: 517
Joined: 01 Oct 2010, 09:41
Location: Belgium

18 Nov 2013, 19:32

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
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

Luca_CTB
Posts: 85
Joined: 29 Nov 2012, 19:06
Location: Belgium

18 Nov 2013, 19:48

Ok, thanks Rudy! ;)
PrimeFaces 3.5 | Mojarra 2.1.22 | JBoss 7.1.1

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

18 Nov 2013, 19:56

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

ldematte
Posts: 1
Joined: 15 Apr 2014, 13:21

15 Apr 2014, 13:28

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

Code: Select all

table.resolveDynamicField(columnSortByVE)
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.
Primefaces 4.0-SNAPSHOT from google code.
Tomcat 7.0.53
JSF 2.2.5

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Apr 2014, 16:10

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.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 47 guests