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']};
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:
Post a Comment