6 Replies Latest reply on Dec 13, 2006 1:49 PM by Pete Muir

    EntityQuery refresh

    James Kelly Newbie

      Question related to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97071...

      I'm trying to set up an EntityQuery as the basis for an auto-complete list; the resultList is updated on an ajax4jsf request which is working fine. The problem I'm running into is it seems the EntityQuery is refreshed during Apply Request Values before the model object that's providing the restriction is updated, i.e. it works, but it's always one character behind on keypress.

      I have a different working version that uses an action method (i.e. Invoke Application) along with a programmactically created EntityQuery (see the other thread), but I'd love to do away with all of this and just define the query component in components.xml.

      And ideas on how to get EntityQuery to refresh later?