2 Replies Latest reply on Sep 25, 2009 9:07 AM by Andrew Lee

    A problem with seam 2.0.2 ajax:poll

    Andrew Lee Newbie

      I define a ajax:poll on my template page, use it to refresh a status link. But the poll on the template also refresh a boolean member of the action. I don't know why, perhaps it's a bug off seam 2.0.2. I need help.

        • 1. Re: A problem with seam 2.0.2 ajax:poll
          Nikos Paraskevopoulos Novice

          Could you show some code? Have you tried ajaxSingle="true" on the <a:poll>? Is the reRender attribute correct?

          • 2. Re: A problem with seam 2.0.2 ajax:poll
            Andrew Lee Newbie

            I had tried all you said, but it dose not work. And i checked the reRender attribute, it's all right. Here are the poll on my template:



            <a4j:form>
                 <a4j:poll id="refreshPoll" interval="10000" enabled="true" reRender="statusLink"/>           
            </a4j:form>





            But it also refresh these:



            <h:commandButton id="prePage1" value="#{messages['page.button.frontPage']}"
                                                                      action="#{gpFuzzySearch.prePage}"
                                                                      rendered="#{gpFuzzySearch.isPrePageAvailable()}" />