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

    Clarify on execute="@all"

    lfryc

      Hi All,

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

      https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1719
      But I found the execute=@all meaning described in JSF2 Reference book [1]:

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

       

       

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

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



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

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


      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)