myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "urswagner@bluemail.ch" <urswag...@bluemail.ch>
Subject AW: Re: Workaround for createValueExpression
Date Wed, 28 Mar 2007 18:23:44 GMT

Sorry I get a compilation error
 
          cannot find symbol
    [javac] symbol  : method getExpressionFactory()
    [javac] location: class javax.faces.application.Application

----Urspr√ľngliche Nachricht----
Von: mkienenb@gmail.com
Datum: 28.03.2007 19:47
An: "MyFaces Discussion"<users@myfaces.apache.org>, 
<urswagner@bluemail.ch>
Betreff: Re: Workaround for createValueExpression

I don't understand the question.
What's wrong with the code?

On 3/28/07, urswagner@bluemail.ch <urswagner@bluemail.ch> wrote:
>
> What workaround need I to use for this code
>
>       import javax.el.ValueExpression;
>
>        FacesContext context = FacesContext.getCurrentInstance();
>         ValueExpression vex = context.getApplication().
> getExpressionFactory().createValueExpression(context.
getELContext(),
> "#{paramValues.mapSelectedItems}", String[].class);
>
>
> Thanks
>




Mime
View raw message