• Post Reply Bookmark Topic Watch Topic
  • New Topic

rich:dataTable filtering unique rows on empty textfield?  RSS feed

Karsten Wutzke
Ranch Hand
Posts: 106
Hibernate MySQL Database Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a rich:dataTable whose rows come from a simple JPQL statement:

As you can see, it's a list of sports team, with the team type codes separated by comma being the gender and age group, e.g. FU16 means "female under 16 years". There are several teams for club "TV Dieburg" as you can see.

Now when I press backspace on the search box on top, the following happens:

Can anyone tell me why this is happening and how to keep the list of unique rows?

Here's the rich:dataTable code:
#{tlvl.fullTeamDesc} is just the string as displayed in the links, too. The default startsWith filter is not supposed to filter any rows on an empty search box.

Is it about the view bean I'm using? I can't think of anything meaningful here... Any help on this is greatly appreciated!

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!