How to pass dynamic parameter to backing bean using EL 2.2 method expression? [duplicate]
问题 This question already has answers here : Invoke direct methods or methods with arguments / variables / parameters in EL (2 answers) Closed 3 years ago . I'm trying to call a function from a JSF 2.0 page in my backing bean passing a dynamic parameter. It works fine as long as im passing a static string, but when I try using a dynamic one, I always get an EL parsing error. I guess its a syntax problem, but I can't think of another way to do this using method expression. I know that I could do