3 Replies Latest reply: Jan 31, 2013 3:05 AM by Frank Nimphius-Oracle RSS

    ContextName always null?

    markoj
      Hi!
      I'm using JDeveloper 11.1.2.3.0.
      When I set Java EE Web Context Root (and also Java EE Web Application Name) in ViewController's Project Properties in Java EE Application section the EL expression +#{facesContext.externalContext.contextName}+ should return its value, but it always returns null. Also the same for Java instructions FacesContext.getCurrentInstance().getExternalContext().getContextName().
      Anyone knows why?