Sometimes it feels like it. so orderBean.filter is a String? It should be an Enum FilterType filter; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070565#4070565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070565