2 Replies Latest reply on Mar 7, 2008 12:35 PM by gonzalad

    event : conditional action execution

    gonzalad

      Hello,


      I'm using Seam 2.0.0.


      If I look at pages.xml, there's an 'if' attribute in action element.


      <page view-id="/sample.jspx">
         <action execute="#{myBean.refresh}" if="#{empty myBean.resultList}"/>
      



      In components.xml, the 'if' attribute is missing.


      <event type="org.jboss.seam.afterTransactionSuccess.Contrat">
        <action execute="#{rechercherContratAction.refresh}" />
      </event>
      



      Am I missing sthing ?


      Should I open a JIRA otherwise ?


      Thanks