Showing posts with label EL. Show all posts
Showing posts with label EL. Show all posts

Sunday, February 3, 2013

ADF: Passing parameter from EL Expression workaround


Below example show a workaround to pass a single parameter from ELexpression into a managed bean.

1. Create a getter method in the managed bean that returns a Map. In this method return an anonymous subclass of hashmap. Override the get method use the parameter passed from the EL expression.



2. Pass the parameter from the EL expression using the box syntax.






3. You can also access bindings to pass a parameter with a similar syntax.


You can download the example here.

Related Posts Plugin for WordPress, Blogger...