Examples of extractRequestContext()


Examples of com.esri.gpt.framework.jsf.FacesContextBroker.extractRequestContext()

       
        // set the message broker
        FacesContextBroker fcb = new FacesContextBroker(request,response);
        tocContext.setMessageBroker(fcb.extractMessageBroker());
       
        RequestContext requestCtx = fcb.extractRequestContext();
        // determine the XML file path
        String relativePath = "";
        TocCollection tocs = requestCtx.getCatalogConfiguration().getConfiguredTocs();
        if(tocs!= null && tocs.containsKey(key)){
          relativePath = tocs.get(key);
View Full Code Here

Examples of com.esri.gpt.framework.jsf.FacesContextBroker.extractRequestContext()

public RequestContext getRequestContext() {
  if(super.getRequestContext() != null) {
    return super.getRequestContext();
  }
  FacesContextBroker broker = new FacesContextBroker();
  RequestContext requestContext = broker.extractRequestContext();
  return requestContext;
}

/**
* Read harvest record. Will update uuid, url, profile, protocol and name
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.