0 Replies Latest reply on Apr 11, 2007 11:24 AM by jcranwellward

    Passing parameters in jsf method calls?

    jcranwellward


      Hello to all,

      I was wondering what the syntax is for passing a parameter in a jsf method call. I have a page flow where I want to set an attribute of my bean before displaying a page:

      <start-state name="start">

      <action name="#{contactManager.setContactType("Registrant")}"/>

      </start-state>

      "Registrant" is a literal string.

      In the bean I have this method:

      public void setContactType(String typeIn) {
      contactType= typeIn;
      }

      I think this is possible although I thin the syntax for the call is slightly different.

      Thanks for all the help,

      James