1 package org.apache.turbine.modules.screens; 2 3 18 19 import org.apache.ecs.ConcreteElement; 20 import org.apache.turbine.services.jsp.JspService; 21 import org.apache.turbine.services.TurbineServices; 22 import org.apache.turbine.services.template.TurbineTemplate; 23 import org.apache.turbine.util.RunData; 24 import org.apache.velocity.context.Context; 25 import org.apache.turbine.services.jsp.TurbineJsp; 26 27 41 public class JspScreen extends BaseJspScreen { 42 43 52 protected void doBuildTemplate( RunData data, 53 Context context ) 54 throws Exception 55 { 56 } 57 58 66 protected void doBuildTemplate( RunData data ) 67 throws Exception 68 { 69 doBuildTemplate(data, TurbineJsp.getContext(data)); 70 } 71 72 78 public static Context getContext(RunData data) 79 { 80 return TurbineJsp.getContext(data); 81 } 82 83 } 84 | Popular Tags |