| Issue 102: | Filtering is not Working | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Construct List of Maps 2. Pass this List to JMesa Table Tag 3. Filtering is not working What is the expected output? What do you see instead? Filtering the items.I am getting null pointer Exception. What version of the product are you using? On what operating system? 2.3 and Windows 2000 Please provide any additional information below. To create the FilterMatcher you will get the Type for the Property from PropertyUtils by passing the property name,As I am using the java.util.Map to hold the data as key/value pairs,if you pass the key to the PropertyUtils it will return the property type as null.This Property type was used to create the Matcher Object.This null value of property type is causing the NullPointerException
May 13, 2008
#1
extremec...@gmail.com
Labels:
-Priority-Medium Priority-High
Jun 25, 2008
We'll provide the fix to this issue. Please include it in the next patch/release :) Thanks!
Jun 25, 2008
If you supply the fix I will include it in the next release. I think the tentative date for the next full release will be the end of July...a Grails plugin is being worked on! I will do a bug fix release if it goes any further than that.
Jun 25, 2008
Also, if I remember correctly the problem is in the SimpleRowFilter class. In the getFilterMatchers() method there is a call that checks for the type. Class<?> type = PropertyUtils.getPropertyType(item, property); This does not work with Maps...at least from what I remember.
Aug 20, 2008
I was able to get a patch in for this and it is on the trunk now.
Status:
Fixed
Aug 20, 2008
I was able to get a patch in for this and it is on the trunk now. |