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.OptionTransferSelect;
12: import com.opensymphony.xwork.util.OgnlValueStack;
13:
14: /**
15: * @author tm_jee
16: * @author Rainer Hermanns
17: * @version $Date: 2006-01-31 21:51:25 +0100 (Tue, 31 Jan 2006) $ $Id: OptionTransferSelectDirective.java 2049 2006-01-31 20:51:25Z rainerh $
18: * @see OptionTransferSelect
19: */
20: public class OptionTransferSelectDirective extends AbstractDirective {
21:
22: public String getBeanName() {
23: return "optiontransferselect";
24: }
25:
26: protected Component getBean(OgnlValueStack stack,
27: HttpServletRequest req, HttpServletResponse res) {
28: return new OptionTransferSelect(stack, req, res);
29: }
30:
31: }
|