01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.webwork.views.freemarker.tags;
06:
07: import javax.servlet.http.HttpServletRequest;
08: import javax.servlet.http.HttpServletResponse;
09:
10: import com.opensymphony.webwork.components.Component;
11: import com.opensymphony.webwork.components.If;
12: import com.opensymphony.xwork.util.OgnlValueStack;
13:
14: /**
15: *
16: * @author tm_jee
17: * @version $Date: 2006-07-22 09:13:41 +0200 (Sat, 22 Jul 2006) $ $Id: IfModel.java 2664 2006-07-22 07:13:41Z tmjee $
18: */
19: public class IfModel extends TagModel {
20:
21: public IfModel(OgnlValueStack stack, HttpServletRequest req,
22: HttpServletResponse res) {
23: super (stack, req, res);
24: }
25:
26: protected Component getBean() {
27: return new If(stack);
28: }
29: }
|