« Return to Thread: EL: MethodExpressions

Re: EL: MethodExpressions

by Jacob Hookom :: Rate this Message:

Reply to Author | View in Thread

Ternary statements are allowed in EL, but not as MethodExpressions (if I
remember correctly).  You might want to clarify that in your bug,
because the JSP folks may not know that action="..." is a
MethodExpression declaration.

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@...> wrote:
>  
>> ah,
>> I thought you guys are steakholder for both.
>>
>> -Matthias
>>
>> On Fri, Jul 4, 2008 at 8:11 AM, Ryan Lubke <Ryan.Lubke@...> 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@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>>
>>>      
>>
>> --
>> 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@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: EL: MethodExpressions

LightInTheBox - Buy quality products at wholesale price!