0 Replies Latest reply on Apr 11, 2007 11:24 AM by James Cranwell-Ward

    Passing parameters in jsf method calls?

    James Cranwell-Ward Newbie

      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")}"/>


      "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,