KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > webwork > views > jsp > ui > AbstractDoubleListTag


1 /*
2  * Copyright (c) 2002-2003 by OpenSymphony
3  * All rights reserved.
4  */

5 package com.opensymphony.webwork.views.jsp.ui;
6
7 import com.opensymphony.webwork.components.DoubleSelect;
8 import com.opensymphony.webwork.components.DoubleListUIBean;
9
10
11 /**
12  * @author <a HREF="mailto:m.bogaert@memenco.com">Mathias Bogaert</a>
13  */

14 public abstract class AbstractDoubleListTag extends AbstractListTag {
15
16     protected String JavaDoc doubleList;
17     protected String JavaDoc doubleListKey;
18     protected String JavaDoc doubleListValue;
19     protected String JavaDoc doubleName;
20     protected String JavaDoc doubleValue;
21     protected String JavaDoc formName;
22
23     protected void populateParams() {
24         super.populateParams();
25
26         DoubleListUIBean bean = ((DoubleSelect) this.bean);
27         bean.setDoubleList(doubleList);
28         bean.setDoubleListKey(doubleListKey);
29         bean.setDoubleListValue(doubleListValue);
30         bean.setDoubleName(doubleName);
31         bean.setDoubleValue(doubleValue);
32         bean.setFormName(formName);
33     }
34
35     public void setDoubleList(String JavaDoc list) {
36         this.doubleList = list;
37     }
38
39     public void setDoubleListKey(String JavaDoc listKey) {
40         this.doubleListKey = listKey;
41     }
42
43     public void setDoubleListValue(String JavaDoc listValue) {
44         this.doubleListValue = listValue;
45     }
46
47     public void setDoubleName(String JavaDoc aName) {
48         doubleName = aName;
49     }
50
51     public void setDoubleValue(String JavaDoc doubleValue) {
52         this.doubleValue = doubleValue;
53     }
54
55     public void setFormName(String JavaDoc formName) {
56         this.formName = formName;
57     }
58 }
59
Popular Tags