jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Make enums accessible from EL

From: Leonardo Uribe <leonardo.uribe_at_irian.at>
Date: Sun, 1 Feb 2015 23:09:30 -0500

Hi

+1, but I suspect maybe this is something that probably falls on the
scope of EL spec. Anyway, I don't see any problem about include it in
JSF spec.

regards,

Leonardo

2015-02-01 16:20 GMT-05:00 Michael Müller <michael.mueller_at_mueller-bruehl.de>:
> All,
>
> in most of the JSF projects I'm involved, ther is a challenge to access
> enums from the EL. Thanksworthy EL supports the comparision of a given enum
> object with a text literal. But, if somebody wants to pass an enum constant,
> ther is no sufficient support. I only might be done by ugly workarounds.
> Thus, I poroposed direct access to enums:
>
> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1357?jql=text%20~%20%22Make%20enums%20accessible%20from%20EL%22
>
> What are you're opinions?
>
> Best,
> Michael