01: /*
02: * Copyright (c) 2005 Opensymphony. All Rights Reserved.
03: */
04: package com.opensymphony.webwork.views.freemarker.tags;
05:
06: import com.opensymphony.xwork.util.OgnlValueStack;
07: import com.opensymphony.webwork.components.Component;
08: import com.opensymphony.webwork.components.TreeNode;
09:
10: import javax.servlet.http.HttpServletRequest;
11: import javax.servlet.http.HttpServletResponse;
12:
13: /**
14: * TreeNodeModel
15: * <p/>
16: * Created : Dec 12, 2005 3:54:41 PM
17: *
18: * @author Jason Carreira <jcarreira@eplus.com>
19: */
20: public class TreeNodeModel extends TagModel {
21: public TreeNodeModel(OgnlValueStack stack, HttpServletRequest req,
22: HttpServletResponse res) {
23: super (stack, req, res);
24: }
25:
26: protected Component getBean() {
27: return new TreeNode(stack, req, res);
28: }
29: }
|