Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-160

Two backslash using the "navigation" taglib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • 1.4b1
    • None
    • Turbine
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 15174

    Description

      We've got a problem using the "navigation" taglib : all urls had two backslash (
      ).
      Class :org.apache.turbine.modules.navigations.BaseJspNavigation
      Method : buildTemplate

      Here is the correction:
      public ConcreteElement buildTemplate( RunData data ) throws Exception

      { // set up any data in beans, etc doBuildTemplate( data ); // get the name of the JSP we want to use String templateName = data.getTemplateInfo().getNavigationTemplate(); // navigations are used by a layout JspService jsp = (JspService) TurbineServices.getInstance().getService(JspService.SERVICE_NAME); // BEFORE: // jsp.handleRequest(data, "/navigations/" + templateName); // AFTER jsp.handleRequest(data, "/navigations" + templateName); return null; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            pascal.miquel@ca-logitaine.fr MIQUEL
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: