1 package org.apache.turbine.modules.navigations; 2 3 18 19 import org.apache.ecs.ConcreteElement; 20 21 import org.apache.turbine.TurbineConstants; 22 23 import org.apache.turbine.services.jsp.TurbineJsp; 24 25 import org.apache.turbine.util.RunData; 26 27 35 public class BaseJspNavigation 36 extends TemplateNavigation 37 { 38 39 private String prefix = TurbineConstants.NAVIGATION_PREFIX + "/"; 40 41 47 protected void doBuildTemplate(RunData data) 48 throws Exception 49 { 50 } 51 52 59 public ConcreteElement buildTemplate(RunData data) 60 throws Exception 61 { 62 String templateName = data.getTemplateInfo().getNavigationTemplate(); 64 65 TurbineJsp.handleRequest(data, prefix + templateName); 67 return null; 68 } 69 } 70 | Popular Tags |