Examples of URLID


Examples of de.innovationgate.wgpublisher.WGPDispatcher.URLID

                pathType = TYPE_UNKNOWN_CONTENT;
            }
        }
        else if (getPathType() == TYPE_TML) {
            if (this.contentKey != null) {
                URLID contentid = new URLID(this.contentKey, this.database);
                boolean isBI = WGPDispatcher.isBrowserInterface(request.getSession()) || WGPDispatcher.isAuthoringMode(database.getDbReference(), request.getSession());
                this.content = WGPDispatcher.getContentByAnyKey(contentid, database, new RequestLanguageChooser(database, request), isBI);
                if (this.content != null) {
                    // Look if we really used the parsed content URLID information.
                    if (!contentid.isCompleteFormat()) {
                        completePath = false;
                    }
                    this.requestLanguage = content.getLanguage().getName();
                }
                else {
View Full Code Here

Examples of de.innovationgate.wgpublisher.WGPDispatcher.URLID

      boolean moduleFound = false;
     
            // Try to interpret as complete URLID
          if (elementIdx == elements.size() - 1) {

              WGPDispatcher.URLID urlid = new URLID(layoutKeyCandidate, database);
              if (urlid.getSuffix() != null && urlid.getSuffix().equals(mediaKeyStr)) {
                  if (urlid.getLanguage() != null) {
                      requestLanguageCandidate = urlid.getLanguage();
                  }
                  moduleFound = isTMLModuleName(originalDesignDB, mediaKeyStr, urlid.getResourceId());
                  if (moduleFound) {
                      layoutKeyCandidate = urlid.getResourceId();
                  }
              }
          }
     
          // Try again with full layout key candidate
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.