2 Replies Latest reply on Dec 21, 2011 7:44 AM by fabriciolemos

    s:viewAction not fired

    fabriciolemos

      s:viewAction is not fired if the navigation comes from h:commandButton or h:commandLink. If I access the page through the URL, the viewAction is fired.


      This is the code:


      <ui:define name="metadata">
        <f:metadata>
          <s:viewAction action="#{permission.check('user:insert')}" immediate="true"/>
        </f:metadata>
      </ui:define>



      I already tried removing immediate="true" and also inserting onPostback="true"


      I´m using Seam 3.1.0.CR1 and Jboss 7.1.0.Beta1.


      thanks in advance