1 Reply Latest reply on Dec 14, 2009 4:35 AM by xsalefter.xsalefter.yahoo.com

    EntityQuery doesn't refreshes in the ajax requests :(

    idyoshin

      Good day.


      I'm building pages with some AJAXified editors using ModalPanel.


      So I have a Master-Children Page. In which I allow Children to be added using ModalPanel. And Actually it adds. But the datatable doesn't refreshes in ajax :( and I don't know what to do. The newly added-removed data appears on the  output only when I fully reload my page.


      My childrens are loaded using EntityQuery<ChildrenObject>  and restriction with EL refering to the parent object's EntityHome.  i.e. the query is "SELECT o FROM ChildrenObject o" and restriction is "o.parent = #{parentObjectEntityHome.instance}"



      Maybe I'm in the misdesign? Can someone help me.


      Best regards,
      Ilya Dyoshin