dev@javaserverfaces.java.net

Re: EL: MethodExpressions

From: Matthias Wessendorf <matzew_at_apache.org>
Date: Sat, 5 Jul 2008 11:26:28 +0200

Jacob,

On Sat, Jul 5, 2008 at 1:38 AM, Jacob Hookom <jacob_at_hookom.net> wrote:
> You could try the JBoss EL Impl-- I can't remember, but I think I modified
> it to allow stuff like that.

you mean the ternary statements for MethodExpressions?

-M

>
> Kito D. Mann wrote:
>>
>> Hmmm.. I haven't seen any indication of a new version of JSP or the EL
>> spec
>> anytime soon....
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Kito D. Mann - Author, JavaServer Faces in Action
>> http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
>> http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
>> phone: +1 203-653-2989
>> fax: +1 203-653-2988
>>
>> Come to the first annual JSFOne Conference this September! Visit
>> http://www.jsfone.com for details.
>>
>>
>>
>>>
>>> -----Original Message-----
>>> From: Ryan.Lubke_at_Sun.COM [mailto:Ryan.Lubke_at_Sun.COM]
>>> Sent: Friday, July 04, 2008 1:27 PM
>>> To: dev_at_javaserverfaces.dev.java.net
>>> Subject: Re: EL: MethodExpressions
>>>
>>> Matthias Wessendorf wrote:
>>>
>>>>
>>>> ah,
>>>> I thought you guys are steakholder for both.
>>>>
>>>>
>>>
>>> Sure, the JSF EG will offer input on the EL spec, but it's best to get
>>> the issue on their
>>> books so it isn't lost.
>>>
>>>>
>>>> -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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com Version: 8.0.135 / Virus Database:
>> 270.4.5/1533 - Release Date: 7/3/2008 7:19 PM
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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