Hi.

The JSF expression language does not accept parameters for functions,
you are right. The new specification for the JSP and JSF common
expression language might have a possibility to do that, though.

There are workarounds for this: implement the map interface. Provide
as a key the parameter you want to provide to the function. use it
something like the following:

"#{mapname['functionParameter']}".

In the getter of your map, call the function with the key as the
parameter, that's it.

The map trick is well-known, but it's a VERY cumbersome workaround. I can't imagine a worse solution.

Bye.
/lexi

Reply via email to