JSF匈中竃危議扮DataTable音嬬志鹸圻嗤峙議盾畳一隈
扮寂:2011-06-21 BlogJava 認戦甥撃
壓聞喘JSF議扮昨?万議並周駁強庁塀頁匯倖載挫議蝕窟圭隈?徽頁喇噐JSF 穎捷?壓議井云嘉1.2,侭參斤噐嗤乂聾准貧中侃尖祥音匯協泌繁吭阻,匯違栖傍 ?輝JSF議匈中刮屬嗤危賜宀嗤凪万議危列議扮昨?厘断參念補秘議峙氏壓籌半 匈中議扮昨?志鹸指栖?匆祥頁傍?匯倖囃厘断鰯協壓朔岬議奉來頁匯倖int峙 ?徽頁厘断念岬補秘阻“abcd”?宸倖扮昨?朔岬壓刮屬竣粁祥狛音肇阻。隼朔 岷俊籌半匈中?JSF 氏委厘断補秘危列議abcd籌半竃栖。遇音頁委厘断參念鰯協 壓朔岬議椎倖奉來議峙?函竃栖?宸劔匆屎頁厘断?勣議潤惚?徽頁輝厘断議匈 中淫凄阻dataTable議扮昨?旺拝DataTable戦中議峙頁辛參園辞議扮昨?輝匈中 貧嗤危列議扮昨?艶議囃脅氏?幣胡嘉厘断補秘議峙?率嗤DataTable戦中議補 秘囃議峙短嗤珊圻葎厘断胡嘉補秘議峙?遇頁鰯協壓朔岬議峙?宸?隼音頁厘断 ?勣心欺議。徽頁輝DataTable嗤危列議補秘議扮昨?DataTable嘉氏委万議峙志 鹸指栖。傍阻宸担傍?湖状嗤泣囂涙戴肝阻?珊頁鎮旗鷹傍三杏。
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"% >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%--
This file is an entry point for JavaServer Faces application.
--%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF -8">
<title>JSP Page</title>
<style>
.header{
background-color:white;
}
#mainForm\:data input{
border:0;
color:red;
}
</style>
</head>
<body>
<h:form id="mainForm">
<h:messages style="color:red" />
兆忖?<h:inputText id="listName" value="#{Test1.listName}" >
<f:validateLength maximum="5"/>
</h:inputText>
<h:commandButton value="Submit" action="#{Test1.save}"/>
霞編喘議?<h:inputText id="testName" value="#{Test1.testName}"/>
<h:dataTable headerClass="header" rowClasses="header" bgcolor="blue" cellspacing="1" cellpadding="0"
|