Can you show us your code sample in context? The first syntax should work fine if it's used for an action property or an event listener.
Passing a parameter is a different story, unfortunately. What are you trying to accomplish? Often there's another way to do it... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info phone: +1 203-653-2989 fax: +1 203-653-2988 Come to the first annual JSFOne Conference this September! Visit http://www.jsfone.com for details. > -----Original Message----- > From: hbMailingList [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2008 4:17 PM > To: [email protected] > Subject: invoking a method > > > hello I'd like to invoke a method on my backing bean. I realize that > #{myBackingBean.myMethod} will not work...so I tried > #{myBackingBean[myMethod]} which also doesn't work. > > Is there a way I can get around this? > > If so can I pass a parameter into the method. > > Thanks in advance. > -- > View this message in context: http://www.nabble.com/invoking-a-method- > tp18120933p18120933.html > Sent from the MyFaces - Users mailing list archive at Nabble.com.

