import java.io.StringWriter; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; public class BreakForeachJavaVelocity { public static void main(String args[]){ VelocityEngine engine = new VelocityEngine(); engine.init(); Template template = engine.getTemplate("velocitytemplate.vm"); VelocityContext context = new VelocityContext(); context.put("max_n", 10); StringWriter sw = new StringWriter(); template.merge(context, sw); System.out.println(sw.toString()); } }
Do you want to delete a "" lesson. Warning! This delete will remove all it's sub lessons and contents.
Do you want to delete a "" sub lesson. Warning! This delete will remove all it's contents.
Do you want to delete content.
Do you want to remove selected book from favorite books.
Do you want to delete selected author from your authors list.