2 Replies Latest reply on Aug 11, 2009 2:54 PM by Russell Weisfield

    Method Signature for Navigation

    Russell Weisfield Newbie

      I am trying to use a method with a primitive parameter passed to it in the from-action attribute of the navigation element.  Yet SEAM does not recognize the method signature.  In other words I have the following




          <navigation from-action="#{myClass.myMethod(long)}">
             <rule if-outcome="success">
                  <redirect view-id="/myPage"/>
             </rule>
          </navigation>





      If I remove the parameter the navigation correctly re-directs to myPage.  As a note, I also have this problem when passing an Object.  Is there some specific way to identify the correct method signature?  Thanks.