Well, if EL isn't that popular, and a mapping function is sufficient, we should
probably stick with the simpler approach. It will be much easier to implement,
and we can always consider adding or changing expression syntax in a later
release if there appears to be a need for it.
On Aug 24, 2010, at 5:55 PM, Dirk Moebius wrote:
> OTOH, everybody hates JSF EL because of its deficiencies: only small subset
> of common language expressions, yet another DSL to learn, no method
> invocations with parameters (solved in JSF 2.0?!? I dunno...)
>
> Dirk.
>
> Greg Brown wrote:
>> That's very interesting. I wasn't aware of EL. Definitely worth looking into.
>>
>> On Aug 24, 2010, at 5:08 PM, Dirk Möbius wrote:
>>
>>> Greg Brown wrote:
>>>> However, there may still be something we can do. Let's give it some
>>>> thought.
>>>
>>> Maybe Pivot should go the JSF route and support EL expressions:
>>>
>>> <PushButton enable="${!listView.selectedRanges.empty}"/>
>>> <PushButton enable="${listView.selectedItems.length> 0}"/>
>>> <PushButton enable="${listView.selectedItem != null}"/>
>>>
>>> Apache commons-el comes to mind.
>>>
>>> Dirk.
>>
>