KickJava   Java API By Example, From Geeks To Geeks.

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


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

5 package com.opensymphony.webwork.views.jsp.ui;
6
7 import com.opensymphony.webwork.components.ListUIBean;
8
9 /**
10  * @author Matt Ho <a HREF="mailto:matt@enginegreen.com">&lt;matt@enginegreen.com&gt;</a>
11  * @version $Id: AbstractListTag.java,v 1.22 2005/07/20 15:30:02 plightbo Exp $
12  */

13 public abstract class AbstractListTag extends AbstractUITag {
14     protected String JavaDoc list;
15     protected String JavaDoc listKey;
16     protected String JavaDoc listValue;
17
18     protected void populateParams() {
19         super.populateParams();
20
21         ListUIBean listUIBean = ((ListUIBean) bean);
22         listUIBean.setList(list);
23         listUIBean.setListKey(listKey);
24         listUIBean.setListValue(listValue);
25     }
26
27     public void setList(String JavaDoc list) {
28         this.list = list;
29     }
30
31     public void setListKey(String JavaDoc listKey) {
32         this.listKey = listKey;
33     }
34
35     public void setListValue(String JavaDoc listValue) {
36         this.listValue = listValue;
37     }
38 }
39
Popular Tags