[BUG] Switch not working with enum
Posted: 26 Sep 2014, 01:34
Switch is not working with implicit JSF enum support.
Nothing is renderd in example:
Nothing is renderd in example:
Code: Select all
public enum FooEnum
{
A, B
}
public Bean
{
private FooEnum = A;
}
Code: Select all
<pe:switch value="#{bean.fooEnum}" >
<pe:case value="A">
A
</pe:case>
<pe:case value="B">
B
</pe:case>
</pe:switch>