2 Replies Latest reply on Sep 27, 2008 11:39 PM by guy bashan

    Seam webremote re-render

    guy bashan Apprentice

      Hi,


      I have a webremote method.
      the method is doing some db updates, then I would like to re-render part of the screen.


      Is it possible to update a part of the screen with webremote, without needing get object data that will be updated manually?


      I simply want to do in the server something like:



      Contexts.getEventContext().set("someObject", myUpdatedObject);
      Renderer.instance().render("myFaceletsComponent.xhtml")





      and then updated only this fragment on the client.


      by the way, I want to re-render a facelets component. Is it possible to pass parameters in java code to the component?


      Thanks,
      Guy.