01: /* * Copyright (c) 2002-2003 by OpenSymphony
02: * All rights reserved.
03: */
04: package com.opensymphony.webwork.views.freemarker;
05:
06: import com.opensymphony.xwork.ActionSupport;
07:
08: import java.util.ArrayList;
09: import java.util.List;
10:
11: /**
12: * @author CameronBraid
13: */
14: public class TestAction extends ActionSupport {
15:
16: /**
17: *
18: */
19: public TestAction() {
20: super ();
21: }
22:
23: public List getBeanList() {
24: List list = new ArrayList();
25: list.add(new TestBean("one", "1"));
26: list.add(new TestBean("two", "2"));
27: list.add(new TestBean("three", "3"));
28:
29: return list;
30: }
31:
32: public List getStringList() {
33: List list = new ArrayList();
34: list.add("one");
35: list.add("two");
36: list.add("three");
37:
38: return list;
39: }
40: }
|