Thanks. I am going to examine commons-el package then!
The other hint might be helpful too.
Regards
René
On Mon, 13 Nov 2006 17:58:00 +0100
"Martin Marinschek" <[EMAIL PROTECTED]> wrote:
Hi Rene,
what do you mean by "in a non JSF context"? If you mean
in your
managed beans, you can do:
FacesContext.getCurrentInstance().getApplication().getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(),"exprString");
If you mean general expression resolving, you might want
to use the
commons-el package directly.
regards,
Martin
On 11/13/06, Rene Guenther
<[EMAIL PROTECTED]> wrote:
Hello,
I would like to make use of JSF EL in a non JSF context.
I
d like to do something like:
String name = (String) EVALUATE(child,
"child.parent.name") instead of
String name = child.getParent().getName();
Probably there is somewhere the EVALUATE method I am
looking for. Anyone knows where?
Thanks
René
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces