1 16 17 package org.apache.jetspeed.util.template; 18 19 import org.apache.turbine.util.template.*; 20 import org.apache.turbine.util.RunData; 21 import org.apache.jetspeed.services.TemplateLocator; 22 28 public class JetspeedTemplateNavigation extends TemplateNavigation { 29 30 31 private RunData data; 32 37 public JetspeedTemplateNavigation(RunData data) { 38 super(data); 39 this.data=data; 40 } 41 48 public void init(Object data){ 49 this.data = (RunData)data; 50 } 51 52 53 public TemplateNavigation setTemplate(String template) { 54 return super.setTemplate(TemplateLocator.locateNavigationTemplate(data,template)); 55 } 56 } 57 58 | Popular Tags |