Menu

Can Expression Language have arguments

ADF By Jun 19, 2012 No Comments
No. Expression Language cannot have arguments. But there is an exception to this rule which is for the managed beans that are created as instances of HashMap and for resource bundles.

For example, if we have a managed bean instance “pairs” for HashMap, then we can use the below syntax to get its values.

#{pairs[‘key’]};

No Comments

Leave a comment

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.