4 Replies Latest reply on Sep 30, 2010 10:21 PM by Nick Belaevski

    Clarify on execute="@all"

    Lukáš Fryč Master

      Hi All,

      I tried to find the correct semantics of execute=@all in spec, but not successfully.

      But I found the execute=@all meaning described in JSF2 Reference book [1]:

      Every component on the page is submitted and processed. This is useful when you want to do a full-page submit.



      It means that following scenario should process data from both forms?

      As I can see, it should, but it doesn't do so.

            <h:inputText value="#{bean.property1}" />
            <a4j:commandButton execute="@all" />

            <h:inputText value="#{bean.property2}" />

      Relevant sources:

      Bug filed at JSF: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1719


      [1] JavaServer Faces 2.0: The Complete Reference (Ed Burns, Chris Schalk)