3 Replies Latest reply on Aug 27, 2009 6:32 AM by nimo stephan

    after method invocation go to link

    nimo stephan Master

      I have something like this:

      <s:button view="/go.xhtml" value="make action and then go">
      <a4j:support event="onbeforedomupdate" action="#{myBean.doAction}"/></s:button>

      The problem with this is, that the action #{myBean.doAction} is triggered after site is rendered. I want, that the action is fired and after the action is done, the site should be rendered.

      I tried it with this:

      <a4j:commandLink value="make action and go" action="{myBean.doAction}" >
      <s:link view="/administration/userManagement.xhtml"/>

      but it does not work.

      How can I solve that?