REMOVED IN OmniFaces 2.1 Final
[OmniFaces utilities] The
isJUELUsed()
method returns true
if JUEL (implementation of the Unified Expression Language (EL)) is available.Method:
See also Faces#getApplication()
import org.omnifaces.util.Hacks;
...
boolean
isJUELAround = Hacks.isJUELUsed();
if(isJUELAround) {
// is
} else {
// is
not
}
Niciun comentariu :
Trimiteți un comentariu