webtier@glassfish.java.net

how to use an ELResolver "by hand"?

From: <webtier_at_javadesktop.org>
Date: Tue, 11 Nov 2008 01:03:25 PST

I need to do this:
in a JSF table a text component with an attribute like:

text="#{currentRow.value['area'].descr}"

Now I need to use the same expression against an object defined in my java
code
 
I would like something like
ELResolver.resolve("#{currentRow.value['area'].descr}", "currentRow",
myObject)
 
to evaluate the expression using myObject for the value of "currentRow"

How can this be achieved? I think it's quite easy, but I cannot find the
right way
[Message sent by forum member 'autozoom' (autozoom)]

http://forums.java.net/jive/thread.jspa?messageID=315975