dev@javaserverfaces.java.net

Re: UIComponentTag.isValueReference(String) is _at_deprecated... what should I use?

From: <jacob_at_hookom.net>
Date: Tue, 21 Feb 2006 13:48:50 -0500

There is ExpressionFactory.createValueExpression(....);

ValueExpression extends Expression
MethodExpression extends Expression

Expression.isLiteral() <--- there

>
>I was updating some 1.1 code to 1.2. The code takes a String which may
>or may not contain a ValueBinding (ValueExpression), if it does it
>creates a ValueBinding / ValueExpression. I call this method to
>determine if this is the case or not.
>
>Ken
>
>Ryan Lubke wrote:
>
>> Ken Paulsen wrote:
>>
>>>
>>> In JSF 1.2, UIComponentTag.isValueReference(String) is @deprecated...
>>> what should I use? I didn't see anything in javax.el.* that jumped
>>> out as the right thing to use.
>>
>> There is no direct replacement. I've spoken to the EL folks about
>> possibly adding something to the javax.el API, but it's
>> probably to late in the game to do so.
>>
>> I'm curious, what's your use case?
>>
>>>
>>> Ken
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
>>> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
>> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
>For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>