当前位置: 网站首页 > JAVA > j2ee

Struts 2 UI Tags Tutorial

时间:1970-1-1 08:33:31来源: j2ee作者:admin 点击:18次 字体 [ С]

097.    public String[] getCommunity() {
098.        return community;
099.    }
100. 
101.    public void setCommunity(String[] community) {
102.        this.community = community;
103.    }
104. 
105.    public ArrayList<String> getCommunityList() {
106.        return communityList;
107.    }
108. 
109.    public void setCommunityList(ArrayList<String> communityList) {
110.        this.communityList = communityList;
111.    }
112. 
113.    public Boolean getMailingList() {
114.        return mailingList;
115.    }
116. 
117.    public void setMailingList(Boolean mailingList) {
118.        this.mailingList = mailingList;
119.    }
120. 
121.}
Textfield and Password Tags
Now lets see each UI tag in detail. The textfiled tag is used to create a textfield and password tag is used to create a password field. These tags are simple and uses only the common attributes discussed before.


发表评论
验证码:
最新评论
相关文章
最热文章