1 Reply Latest reply on Jun 5, 2010 3:24 PM by shravan kodam

    how to stop page navigation when <s:link> action method return false?

    sathish avunoori Newbie

      hi to all ,


      i have a requirement that,


      i have s:link tag   in my .xhtml list page. when i click on this link i am executing a method which check some condition , after checking that condition ,if it returns false then i want to stop the page navigation and show reason in a model panel. if that method returns true then that page should be navigated to other page .
      for this i have added a4j:support for s:link tag. it is execution action method and checking condition fine. but it is not going to restrict navigation when action method returns false.



      can any one tell me what is the process to stop the navigation if condition false in my action method of s:link tag action attribute?


      advanced thanks