01: package com.opensymphony.webwork.views.velocity.components;
02:
03: import com.opensymphony.webwork.components.Component;
04: import com.opensymphony.webwork.components.DoubleSelect;
05: import com.opensymphony.xwork.util.OgnlValueStack;
06:
07: import javax.servlet.http.HttpServletRequest;
08: import javax.servlet.http.HttpServletResponse;
09:
10: /**
11: * @author Rainer Hermanns
12: * @see DoubleSelect
13: */
14: public class DoubleSelectDirective extends AbstractDirective {
15: protected Component getBean(OgnlValueStack stack,
16: HttpServletRequest req, HttpServletResponse res) {
17: return new DoubleSelect(stack, req, res);
18: }
19:
20: public String getBeanName() {
21: return "doubleselect";
22: }
23: }
|