1 Reply Latest reply on Sep 12, 2007 11:51 AM by EC Admin

    Button pressed -> Javascript -> Session bean -> Facelets (re

    EC Admin Newbie

      Hi guys,

      I'm trying to do the following thing with Seam :

      1. The user press a button
      2. A Javascript function is called and gets data from a third party API (Google Maps)
      3. A Session bean's method is called (using seam remoting and query the database.
      4. A results list is initialized and outjected

      So far everything is fine (I get a callback in Javascript).

      But what I would like to do is dynamically refresh the result list (in the page) using facelets (not DHTML) :

      <ui:repeat value="#{myResults}" var="res">

      Is it possible to do it with Seam ? Should I use iceFaces or something ?