Yes, this is correct. Restrictions should be of the form a.b = #{a.b} - then you're query will be refreshed when the restrictions change.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043760#4043760
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043760