/* * Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.webwork.views.freemarker;
import com.opensymphony.xwork.ActionSupport;
import java.util.ArrayList;
import java.util.List;
/**
* @author CameronBraid
*/
public class TestAction extends ActionSupport {
/**
*
*/
public TestAction() {
super();
}
public List getBeanList() {
List list = new ArrayList();
list.add(new TestBean("one", "1"));
list.add(new TestBean("two", "2"));
list.add(new TestBean("three", "3"));
return list;
}
public List getStringList() {
List list = new ArrayList();
list.add("one");
list.add("two");
list.add("three");
return list;
}
}
|