01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.webwork.views.velocity.components;
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.UpDownSelect;
12: import com.opensymphony.xwork.util.OgnlValueStack;
13:
14: /**
15: *
16: * @author tm_jee
17: * @version $Date: 2006-03-15 17:35:38 +0100 (Wed, 15 Mar 2006) $ $Id: UpDownSelectDirective.java 2416 2006-03-15 16:35:38Z tmjee $
18: */
19: public class UpDownSelectDirective extends AbstractDirective {
20:
21: public String getBeanName() {
22: return "updownselect";
23: }
24:
25: protected Component getBean(OgnlValueStack stack,
26: HttpServletRequest req, HttpServletResponse res) {
27: return new UpDownSelect(stack, req, res);
28: }
29: }
|