DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15174>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15174

Two backslash using the "navigation" taglib

           Summary: Two backslash using the "navigation" taglib
           Product: Jetspeed
           Version: 1.4b1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Turbine
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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;
    }

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to