Affects Version/s: 1.1
Fix Version/s: 1.2
Operating System: All
The JSF should explicitly allow allow Java 5 enum's as valid types for EL and EL
assignment (with correct coercision).
Enum are very usefull to represent states of "state machine" and enforce them in
the code. By not explicitly allowing enum, the current spec has produced that
RI, has "forbid" this (using enum will result in throwing
IllegalArgumentException). And we do need to be able to use enum in JSF 1.2 !
IMHO, type coercing should be made using the java.lang.Enum .valueOf() method
when Class .isEnum() method is satisfied ... all the required facilities are
already available on Java 5 SE, no need for new "things".
This issue is a known duplicate of issue 113 done because comment was not
available for comment to public :
See also issue 176 of glassfish