1 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 14 public abstract class AbstractDoubleListTag extends AbstractListTag { 15 16 protected String doubleList; 17 protected String doubleListKey; 18 protected String doubleListValue; 19 protected String doubleName; 20 protected String doubleValue; 21 protected String 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 list) { 36 this.doubleList = list; 37 } 38 39 public void setDoubleListKey(String listKey) { 40 this.doubleListKey = listKey; 41 } 42 43 public void setDoubleListValue(String listValue) { 44 this.doubleListValue = listValue; 45 } 46 47 public void setDoubleName(String aName) { 48 doubleName = aName; 49 } 50 51 public void setDoubleValue(String doubleValue) { 52 this.doubleValue = doubleValue; 53 } 54 55 public void setFormName(String formName) { 56 this.formName = formName; 57 } 58 } 59 | Popular Tags |