how can i use something like this:
<h:comand....
rendered="#{myBean.isStatus(MyEnumerator.MyStatus)}"
</h:command...>
i need to use enumerator in my method.
Anyone know ?
You could do it through an el function e.g.
#{myBean.isStatus(my:enum('com.my.MyEnumerator.MyStatus')}"
enum(String enum) { // Split out the type from the value // use Enum.valueOf(type, value) to get the enum }