dev@javaserverfaces.java.net

Re: EL: MethodExpressions

From: Matthias Wessendorf <matzew_at_apache.org>
Date: Fri, 4 Jul 2008 19:34:13 +0200

On Fri, Jul 4, 2008 at 7:29 PM, Jacob Hookom <jacob_at_hookom.net> wrote:
> Ternary statements are allowed in EL, but not as MethodExpressions (if I
> remember correctly). You might want to clarify that in your bug, because

correct. works fine for ValueExpressions.

> the JSP folks may not know that action="..." is a MethodExpression
> declaration.

good point.
Just did that.

-M

>
> Matthias Wessendorf wrote:
>>
>> https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=181
>>
>> let's see what happens.
>> The available "products" where 2.0 and EDR-2.1 :-)
>> I thought that 2.1 is already more than a EDR :)
>>
>> -Matthias
>>
>> On Fri, Jul 4, 2008 at 8:17 AM, Matthias Wessendorf <matzew_at_apache.org>
>> wrote:
>>
>>>
>>> ah,
>>> I thought you guys are steakholder for both.
>>>
>>> -Matthias
>>>
>>> On Fri, Jul 4, 2008 at 8:11 AM, Ryan Lubke <Ryan.Lubke_at_sun.com> wrote:
>>>
>>>>
>>>> Matthias Wessendorf wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I know, this is invalid:
>>>>>
>>>>> action="#{bean.text == 'ABC' ? bean.myNiceMethod : bean.myOddMethod}"
>>>>>
>>>>> but, wouldn't it be kinda interesting to have that possibility as well
>>>>> ?
>>>>>
>>>>> -Matthias
>>>>>
>>>>>
>>>>>
>>>>
>>>> Since the EL is under the JSP spec at this point, log your spec
>>>> enhancements
>>>> [1] so they are on record.
>>>> https://jsp-spec-public.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
>>>>
>>>>
>>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> further stuff:
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> mail: matzew-at-apache-dot-org
>>>
>>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>



-- 
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org