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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036414#4036414

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036414
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to