1 Reply Latest reply on Jul 20, 2009 6:45 PM by edrusiani2009

    Ajax Rerender and Seam pages.xml

      Hi

      i have a jsf page with is mapped inside the pages.xml in this way:

      <page view-id="/modules/arc/registrazioneDoc.xhtml" action="#{arcRegManager.openArcReg}" >
               <navigation>
                    <rule if-outcome="backToMain">
                         <redirect view-id="/modules/arc/main.xhtml"/>
                    </rule>
      ..
               </navigation> 
      </page>

      the method is inside a class that shows those annotations:

      @Name("arcRegManager")
      @LoggedIn
      @Scope(ScopeType.CONVERSATION)
      public class ArcRegManagerAction

      and has @Begin(join=true) annotation on it

      inside this jsf page i have a <a4j:support> tag with eventQueue and rerender parameters.

      i've found out that when axaj rerenders the page, the openNewReg method is called once for every tag rerendered. How can i prevent this, having the method called just when entering the pages by Seam pageflow?

      thanks for your time