2 Replies Latest reply on Oct 26, 2007 9:59 AM by Ilya Shaikovsky

    a4j:poll + modalPanel update problem

    Krzysztof Cichomski Newbie

      Hi!

      I've searched the forums, but couldn't find a solution. I need to periodically check for some data, and when it arrives I need to show a modalPanel with that data.

      I have a working solution, which is to use a4j:poll to check for data AND rerender the panel's content on every check. This is obviously inefficient.

      I need a way to rerender the content when there's actually some data, not on every check. Any hints? Ideally i'd like to do that from JSP, but backing beans would be ok too. How can I access the modalPanel from backing beans ?