锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
聽 if(pressed="editor"){ 聽 } </script> 聽if(oTable != null && oChkAll != null) </script>
緙栬緫欏甸潰涔熷氨寮瑰嚭瀵硅瘽紿楅〉闈ditor.jsp } </script>
backing bean CDBean.java package test; import java.util.*; public class CDBean { 聽聽聽 private ListDataModel model; 聽聽聽 private ListDataModel editorModel; 聽聽聽 public CDBean() { 聽聽聽 public ListDataModel getModel() { 聽聽聽 public ListDataModel getEditorModel() { 聽聽聽 public void editorTriggered(ActionEvent actionEvent) { 聽聽聽 public void saveTriggered(ActionEvent actionEvent) { 聽聽聽 } } 聽聽聽 private Long id; 聽聽聽 private String artist; 聽聽聽 private String category; 聽聽聽 private boolean editor; 聽聽聽 public CD() { 聽聽聽 public String getArtist() { 聽聽聽 public Long getId() { 聽聽聽 public void setEditor(boolean editor){ 閰嶇疆鏂囦歡faces-config.xml <faces-config xmlns="聽 <managed-bean> 鏈鍚庣殑鎬葷粨:鍦ㄥ脊鍑虹獥鍙i噷鏄病娉曠敤jsf鐨勯獙璇佹満鍒剁殑,鍘熷洜鏄痵etInterval('opener.window.location.href=opener.window.location.href;window.close();',20);鏈変竴涓猨avascript鐨刼pener瀵硅薄鐨勫紩鐢?褰撶敤jsf楠岃瘉鏃跺鏋滄湁闈炴硶杈撳叆,寮瑰嚭紿楀彛欏甸潰灝變細鍒鋒柊,榪欏氨浼氫涪澶卞opener鐨勫紩鐢?鑰屼笖榪樺瓨鍦ㄥ彟涓涓棶棰樺氨鏄鏋滈獙璇佹紜氨搴旇鍏抽棴瀵硅瘽妗?澶辮觸灝變笉搴旇鍏抽棴瀵硅瘽妗?榪欎釜闂涔熶笉濂借В鍐? 閭d箞鏄笉鏄氨娌″姙娉曡В鍐抽獙璇佺殑闂鍛?涓嶆槸鐨?鍙互鍦ㄥ脊鍑洪〉闈㈤噷鐢╢rame寮曠敤涓や釜欏甸潰,涓涓繚鎸佸opener鐨勫紩鐢?鍙︿竴涓氨鏄紪杈戜綔鐢ㄤ簡,鍏蜂綋浣滄硶灝辨槸鍦╞acking bean 閲屾坊鍔犱竴涓猘ction鍔ㄦ佸鑸柟娉曢噷璋冪敤FacesContext.getCurrentInstance().getResponseWriter().write(); 鍦╳rite 鏂規硶閲屾墦鍗扮敤浜庢帶鍒跺叧闂璇濇鐨刯avascript浠g爜,鍥犱負action鏂規硶鑳芥墽琛屽氨琛ㄧず楠岃瘉涓瀹氶氳繃浜?濡傛灉楠岃瘉涓嶉氳繃鐨勮瘽灝變細榪斿洖鑷韓欏甸潰鎶涘嚭寮傚父.鍦╳rite 鏂規硶閲?鏈鍚庡湪write 鏂規硶鐨勬渶鍚庝竴瀹氫笉鑳藉繕浜?FacesContext.getCurrentInstance().responseComplete()浠ヨ煩榪囪漿鍚戠殑鎵ц,涔熷氨鏄煩榪噅sf鐢熷懡鐨勬渶鍚庝竴涓樁孌?榪樻湁鍙︿竴涓洿濂界殑瑙e喅鏂規,鐢ˋjax瀹炵幇楠岃瘉,鍏蜂綋瀹炵幇灝變笉鍐嶈禈榪頒簡,鍥犱負瀹冧笉鏄痡sf鐨勪竴閮ㄥ垎:) 嬈㈣繋鍔犲叆QQ緹?30406099聽 聽
com.sun.faces.metal.util.FacesMessageFactory綾諱篃鍙槸浠巎sf1.2-ri鍖呬腑澶嶅埗榪囨潵鐨?榪欐牱鎴戜滑灝卞彲浠ュ畬鍏ㄤ笉渚濊禆jsf-api鐨勫疄鐜拌屽畾涔変簡鑷繁鐨刴essage灞炴?
鍓╀笅鐨勫氨鏄竴浜涜緟鍔╃被浜嗭紝涔熻繕綆楀鏄撶湅鐨勬噦.
鍘熸湰搴旇寰堝焊闀跨殑涓浜涘彊榪板湪榪欓噷鏋佸害嫻撶緝浜嗭紝綆鐩村氨鏄病娉曠悊瑙g殑錛屽ソ鍦ㄥ鏋滄湁鑷畾涔塲sf緇勪歡鐨勫熀紜錛屾簮鐮佷篃搴旇榪樼湅寰楁噦.婧愮爜涓嬭澆
]]>
鏄劇ず鏁版嵁鐨勬枃浠秙how.jsp
<%@page contentType="text/html; charset=GB2312"%>
<%@taglib uri="<%@taglib uri="<html>
<head>
<script language="javascript" type="">
聽pressed="fail";
function setPress(newValue){
聽聽 pressed=newValue;
聽聽 }
function confirmSubmit(){
聽聽聽聽 popup = window.open("","popup","height=480,width=320,toolbar=no,menubar=no,scrollbars=no");
聽聽聽聽 popup.openerFormId=document.forms["fors"].id;
聽聽聽聽 popup.focus();
聽聽聽聽 document.forms["fors"].target="popup";
}
<script聽 language="javascript" type="">
聽function SetCheckedStatus()
{
聽聽 聽var oTable=document.all['fors:data'];
聽var oChkAll=document.all['fors:selectall']
聽{
聽聽for(j=1;j<oTable.rows.length;j++)
聽聽{
聽聽聽oTable.rows(j).cells(0).children.item(0).checked=oChkAll.checked;
聽聽}
聽}
}
<link href="css/styles3.css" rel="stylesheet" type="text/css"/>
<title>show book</title>
</head>
<body bgcolor="#ffffff">
<f:view>
聽 <h:form id="fors" onsubmit="return confirmSubmit()">
聽聽聽 <h:panelGrid id="act" columns="1" cellpadding="0" cellspacing="0" width="100%" border="0" columnClasses="btstyle">
聽聽聽聽聽 <h:panelGroup>
聽聽聽聽聽聽聽 <h:selectBooleanCheckbox id="selectall" onclick="SetCheckedStatus()"/>
聽聽聽聽聽聽聽 <h:outputLabel for="selectall">
聽聽聽聽聽聽聽聽聽 <h:outputText value="鍏ㄩ?/>
聽聽聽聽聽聽聽 </h:outputLabel>
聽聽聽聽聽聽聽 <h:commandButton value="緙栬緫" onclick="setPress('editor')" action="editor" actionListener="#{cd.editorTriggered}"/>
聽聽聽聽聽聽聽 <h:commandButton value="鍒犻櫎" onclick="setPress('del')" actionListener="#{paramsetup.delDirectoryTriggered}"/>
聽聽聽聽聽聽聽 <h:commandButton value="澧炲姞" onclick="setPress('add')"/>
聽聽聽聽聽聽聽 <h:commandButton value="淇濆瓨" onclick="setPress('save')" actionListener="#{paramsetup.saveActionTriggered}"/>
聽聽聽聽聽 </h:panelGroup>
聽聽聽 </h:panelGrid>
聽聽聽 <h:dataTable id="data" value="#{cd.model}" var="c" cellpadding="5" cellspacing="10">
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText1" value="閫夋嫨"/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:selectBooleanCheckbox id="selectBooleanCheckbox1" value="#{c.editor}"/>
聽聽聽聽聽 </h:column>
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText2" value="涔﹀悕"/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:outputText value="#{c.title}"/>
聽聽聽聽聽 </h:column>
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText3" value="浣滆?/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:outputText value="#{c.artist}"/>
聽聽聽聽聽 </h:column>
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText4" value="浠鋒牸"/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:outputText value="#{c.price}"/>
聽聽聽聽聽 </h:column>
聽聽聽 </h:dataTable>
聽 </h:form>
</f:view>
</body>
</html>
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="<%@taglib uri="<html>
<head>
<title>editor</title>
<script type="">
function confirmSubmit(){
聽setInterval('opener.window.location.href=opener.window.location.href;window.close();',20);
</head>
<body bgcolor="#ffffff">
<f:view>
聽 <h:form id="fors" onsubmit="return confirmSubmit()">
聽聽聽 <h:dataTable id="data" value="#{cd.editorModel}" var="c" cellpadding="5" cellspacing="10">
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText2" value="涔﹀悕"/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:inputText value="#{c.title}"/>
聽聽聽聽聽 </h:column>
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText3" value="浣滆?/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:inputText value="#{c.artist}"/>
聽聽聽聽聽 </h:column>
聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText4" value="浠鋒牸"/>
聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽 <h:inputText value="#{c.price}"/>
聽聽聽聽聽 </h:column>
聽聽聽 </h:dataTable>
聽聽聽 <h:panelGrid columns="1">
聽聽聽聽聽 <h:commandButton value="淇濆瓨" action="show" actionListener="#{cd.saveTriggered}">聽聽聽聽聽 </h:commandButton>
聽聽聽聽聽 <h:commandButton value="鍙栨秷" type="button" onclick="javascript:window.close();">聽聽聽聽聽 </h:commandButton>
聽聽聽 </h:panelGrid>
聽 </h:form>
</f:view>
</body>
</html>
import javax.faces.model.ListDataModel;
import javax.faces.event.ActionEvent;
聽聽聽 private List CDList = new ArrayList();
聽聽聽聽聽聽聽 CDList.add(new CD("璁$畻鏈哄簲鐢?, "闀挎睙", 25.00F, ""));
聽聽聽聽聽聽聽 CDList.add(new CD("java妯″紡", "闀挎睙", 80.00F, ""));
聽聽聽聽聽聽聽 CDList.add(new CD("j2EE1.4鏍囧噯鏁欐潗", "闀挎睙", 100.00F, ""));
聽聽聽 }
聽聽聽聽聽聽聽 if (model == null) {
聽聽聽聽聽聽聽聽聽聽聽 model = new ListDataModel(CDList);
聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽 return model;
聽聽聽 }
聽聽聽聽聽聽聽 return editorModel;
聽聽聽 }
聽聽聽聽聽聽聽 List list = (List) model.getWrappedData();
聽聽聽聽聽聽聽 List editorList = new ArrayList();
聽聽聽聽聽聽聽 for (Iterator it = list.iterator(); it.hasNext(); ) {
聽聽聽聽聽聽聽聽聽聽聽 CD cd = (CD) it.next();
聽聽聽聽聽聽聽聽聽聽聽 if (cd.getEditor()) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 editorList.add(cd);
聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽 editorModel = new ListDataModel(editorList);
聽聽聽 }
聽聽聽聽聽聽聽 List list = (List) editorModel.getWrappedData();
聽聽聽聽聽聽聽 for (Iterator it = list.iterator(); it.hasNext(); ) {
聽聽聽聽聽聽聽聽聽聽聽 CD cd = (CD) it.next();
聽聽聽聽聽聽聽聽聽聽聽 cd.setEditor(false);
聽聽聽聽聽聽聽 }
杈呭姪綾籆D.java
package test;
public class CD implements java.io.Serializable {
聽聽聽 private String subCategory;
聽聽聽 private String title;
聽聽聽 private float price;
聽聽聽 }
聽聽聽 public CD(String aTitle, String aArtist, float aPrice, String aCategory) {
聽聽聽聽聽聽聽 this.title = aTitle;
聽聽聽聽聽聽聽 this.artist = aArtist;
聽聽聽聽聽聽聽 this.price = aPrice;
聽聽聽聽聽聽聽 this.category = aCategory;
聽聽聽 }
聽聽聽 public void setArtist(String aArtist) {
聽聽聽聽聽聽聽 this.artist = aArtist;
聽聽聽 }
聽聽聽聽聽聽聽 return artist;
聽聽聽 }
聽聽聽 public void setCategory(String aCategory) {
聽聽聽聽聽聽聽 this.category = aCategory;
聽聽聽 }
聽聽聽 public String getCategory() {
聽聽聽聽聽聽聽 return category;
聽聽聽 }
聽聽聽 public void setId(Long aId) {
聽聽聽聽聽聽聽 this.id = aId;
聽聽聽 }
聽聽聽聽聽聽聽 return id;
聽聽聽 }
聽聽聽 public void setPrice(float aPrice) {
聽聽聽聽聽聽聽 this.price = aPrice;
聽聽聽 }
聽聽聽 public float getPrice() {
聽聽聽聽聽聽聽 return price;
聽聽聽 }
聽聽聽 public void setSubCategory(String aSubCategory) {
聽聽聽聽聽聽聽 this.subCategory = aSubCategory;
聽聽聽 }
聽聽聽 public String getSubCategory() {
聽聽聽聽聽聽聽 return subCategory;
聽聽聽 }
聽聽聽 public void setTitle(String aTitle) {
聽聽聽聽聽聽聽 this.title = aTitle;
聽聽聽 }
聽聽聽 public String getTitle() {
聽聽聽聽聽聽聽 return title;
聽聽聽 }
聽聽聽聽聽聽聽 this.editor=editor;
聽聽聽 }
聽聽聽 public boolean getEditor(){
聽聽聽聽聽聽聽 return this.editor;
聽聽聽 }
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "
聽聽聽 <managed-bean-name>cd</managed-bean-name>
聽聽聽 <managed-bean-class>test.CDBean</managed-bean-class>
聽聽聽 <managed-bean-scope>session</managed-bean-scope>
聽 </managed-bean>
聽 <navigation-rule>
聽聽聽 <from-view-id>/show.jsp</from-view-id>
聽聽聽 <navigation-case>
聽聽聽聽聽 <from-outcome>editor</from-outcome>
聽聽聽聽聽 <to-view-id>/editor.jsp</to-view-id>
聽聽聽 </navigation-case>
聽 </navigation-rule>
聽 <navigation-rule>
聽聽聽 <from-view-id>/editor.jsp</from-view-id>
聽聽聽 <navigation-case>
聽聽聽聽聽 <from-outcome>show</from-outcome>
聽聽聽聽聽 <to-view-id>/show.jsp</to-view-id>
聽聽聽 </navigation-case>
聽 </navigation-rule>
</faces-config>
]]>
聽聽聽 鏉ョ湅鐪媕sf涓殑瑙e喅鏂規
jsf涓?<h:dataTable> 閫氬父緇戝畾涓涓狶istDataModel 鎴栬呮槸ArrayDataModel絳夋暟鎹ā鍨?鑰岃鏁版嵁妯″瀷閫氬父灝佽List,鎴栭兘Array涔嬬被鐨勫璞?榪欎簺瀵硅薄鐨勫厓绱犻兘鏄竴浜沚ean 瀵硅薄,鎶婃暟鎹簱涓〃鐨勫瓧孌墊槧灝勬垚bean聽 鍐嶇粰璇ean娣誨姞涓涓澶朾oolean鍨嬬殑灞炴?鐢ㄦ潵緇戝畾 <h:selectBooleanCheckbox>緇勪歡,鍦╞acking bean涓氨鍙互閫氳繃鍒ゆ柇榪欎釜緇戝畾鍊兼潵澶勭悊<h:dataTable>緇勪歡閫変腑鐨勮瀵瑰簲鐨勬暟鎹ā鍨嬫墍鎷ユ湁鐨刡ean浜?聽 閭d箞濡備綍鍦ㄩ〉闈㈠疄鐜?lt;input type="checkbox"/>鐨勫叏閫夊憿,榪樻槸鐢╦avascript 鍙槸javascript瑕佸厛瀵?lt;table>鏍囩榪涜鎿嶄綔浜?榪欏氨娌sp涓偅涔堢洿瑙? js浠g爜
</script><script聽 language="javascript" type="">
聽function SetCheckedStatus()
{
聽聽 聽var oTable=document.all['fors:data'];
聽var oChkAll=document.all['fors:selectall']
聽if(oTable != null && oChkAll != null)
聽{
聽聽for(j=1;j<oTable.rows.length;j++)
聽聽{
聽聽聽oTable.rows(j).cells(0).children.item(0).checked=oChkAll.checked;
聽聽}
聽}
}
</script>
jsf欏甸潰浠g爜:
<%@page contentType="text/html; charset=GB2312"%>
<%@taglib uri="<%@taglib uri="<html>
<head>
聽 <script type="" src="css/screen.js"></script>
<script language="javascript" type="">
聽pressed="fail";
function setPress(newValue){
聽聽 pressed=newValue;
聽聽 }
function confirmSubmit(){
聽 if(pressed=="add"){
聽聽 wid =calculateCenterWidth(340);
聽聽聽 hi=calculateCenterHeight(160);
聽聽聽 popup=window.open("adduser.faces","popup","height=160,width=340,toolbar=no,left="+wid+",top="+hi+",menubar=no,scrollbars=no");
聽聽聽 popup.focus();
聽聽聽 return false;
聽 }
聽 if(pressed=="del"){
聽聽聽 return confirm("紜畾瑕佸垹闄ゅ悧?");
聽 }
聽 if(pressed=="save"){
聽聽聽 return confirm("紜畾瑕佷慨鏀瑰悧?");
聽 }
}
</script><script聽 language="javascript" type="">
聽function SetCheckedStatus()
{
聽聽 聽var oTable=document.all['fors:data'];
聽var oChkAll=document.all['fors:selectall']
聽if(oTable != null && oChkAll != null)
聽{
聽聽for(j=1;j<oTable.rows.length;j++)
聽聽{
聽聽聽oTable.rows(j).cells(0).children.item(0).checked=oChkAll.checked;
聽聽}
聽}
}
</script><link href="css/styles3.css" rel="stylesheet" type="text/css"/>
<title>鐢ㄦ埛綆$悊</title>
</head>
<body bgcolor="#ffffff">
<f:view>
聽 <h:form id="fors" onsubmit="return confirmSubmit()">
聽聽聽 <h:panelGrid id="top" cellspacing="0" cellpadding="0" width="100%" border="0" columns="3" columnClasses="left,topMiddle,right">
聽聽聽聽聽 <h:graphicImage value="images/jiao1.gif"/>
聽聽聽聽聽 <h:outputText value=""/>
聽聽聽聽聽 <h:graphicImage value="images/jiao2.gif"/>
聽聽聽 </h:panelGrid>
聽聽聽 <h:panelGrid cellspacing="0" cellpadding="0" width="100%" border="0" columnClasses="middleLeft,btstyle,middleRight" columns="3">
聽聽聽聽聽 <h:outputText value=""/>
聽聽聽聽聽 <h:panelGroup>
聽聽聽聽聽聽聽 <!-- 鏁版嵁-->
聽聽聽聽聽聽聽 <h:panelGrid id="act" columns="1" cellpadding="0" cellspacing="0" width="100%" border="0" columnClasses="btstyle">
聽聽聽聽聽聽聽聽聽 <h:panelGroup>
聽聽聽聽聽聽聽聽聽聽聽 <h:selectBooleanCheckbox id="selectall" onclick="SetCheckedStatus()"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputLabel for="selectall">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="鍏ㄩ?/>
聽聽聽聽聽聽聽聽聽聽聽 </h:outputLabel>
聽聽聽聽聽聽聽聽聽聽聽 <h:commandButton value="緙栬緫" onclick="setPress('editor')"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:commandButton value="鍒犻櫎" onclick="setPress('del')" actionListener="#{function.delUserTriggered}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:commandButton value="澧炲姞" onclick="setPress('add')"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:commandButton value="淇濆瓨" onclick="setPress('save')" actionListener="#{function.saveUserTriggered}"/>
聽聽聽聽聽聽聽聽聽 </h:panelGroup>
聽聽聽聽聽聽聽 </h:panelGrid>
聽聽聽聽聽聽聽 <h:dataTable id="data" value="#{function.userInfoModel}" var="user" width="100%" border="1" cellpadding="0" cellspacing="0">
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText1" value="閫夋嫨"/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:selectBooleanCheckbox id="selectBooleanCheckbox1" value="#{user.editor}"/>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText7" value="鐧誨綍鍚?/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="#{user.username}" rendered="#{not user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:inputText value="#{user.username}" rendered="#{user.editor}">聽聽聽聽聽聽聽聽聽聽聽 </h:inputText>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText2" value="鐢ㄦ埛鍚?/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="#{user.name}" rendered="#{not user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:inputText value="#{user.name}" rendered="#{user.editor}">聽聽聽聽聽聽聽聽聽聽聽 </h:inputText>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText3" value="鐢ㄦ埛瀵嗙爜"/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="********" rendered="#{not user.editor}">聽聽聽聽聽聽聽聽聽聽聽 </h:outputText>
聽聽聽聽聽聽聽聽聽聽聽 <h:inputSecret id="inputSecret1" value="#{user.password}" redisplay="true" rendered="#{user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:message for="inputSecret1"/>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText4" value="鎬у埆"/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="#{user.xingbie}" rendered="#{not user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:selectOneListbox id="selectOneListbox1"聽 size="1" value="#{user.xingbie}"聽 rendered="#{user.editor}" style="width:100px">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 <f:selectItems value="#{function.xinbeiList}"/>
聽聽聽聽聽聽聽聽聽聽聽聽聽 </h:selectOneListbox>
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:message for="selectOneListbox1"/>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText5" value="宀椾綅"/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="#{user.gangwei}" rendered="#{not user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:inputText value="#{user.gangwei}" rendered="#{user.editor}">聽聽聽聽聽聽聽聽聽聽聽 </h:inputText>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽聽聽 <h:column>
聽聽聽聽聽聽聽聽聽聽聽 <f:facet name="header">
聽聽聽聽聽聽聽聽聽聽聽聽聽 <h:outputText id="headerText6" value="閮ㄩ棬"/>
聽聽聽聽聽聽聽聽聽聽聽 </f:facet>
聽聽聽聽聽聽聽聽聽聽聽 <h:outputText value="#{user.bumen}" rendered="#{not user.editor}"/>
聽聽聽聽聽聽聽聽聽聽聽 <h:inputText value="#{user.bumen}" rendered="#{user.editor}">聽聽聽聽聽聽聽聽聽聽聽 </h:inputText>
聽聽聽聽聽聽聽聽聽 </h:column>
聽聽聽聽聽聽聽 </h:dataTable>
聽聽聽聽聽聽聽 <!-- 鏁版嵁-->
聽聽聽聽聽 </h:panelGroup>
聽聽聽聽聽 <h:outputText value=""/>
聽聽聽 </h:panelGrid>
聽聽聽 <table id="fors:bottom" border="0" cellpadding="0" cellspacing="0" width="100%">
聽聽聽
聽聽聽聽聽 <tbody>
聽聽聽聽聽聽聽 <tr>
聽聽聽聽聽聽聽聽聽 <td class="left">
聽聽聽聽聽聽聽聽聽聽聽 <img src="images/jiao3.gif" alt=""/>
聽聽聽聽聽聽聽聽聽 </td>
聽聽聽聽聽聽聽聽聽 <td class="bottomMiddle">聽聽聽聽聽聽聽聽聽 </td>
聽聽聽聽聽聽聽聽聽 <td class="right">
聽聽聽聽聽聽聽聽聽聽聽 <img src="images/jiao4.gif" alt=""/>
聽聽聽聽聽聽聽聽聽 </td>
聽聽聽聽聽聽聽 </tr>
聽聽聽聽聽 </tbody>
聽聽聽 </table>
聽 </h:form>
</f:view>
</body>
</html>
鍥犱負鏃墮棿鍘熷洜涔熸噿鐨勫啓涓涓畬鏁寸殑搴旂敤浜?涓嶈繃鎴戞兂鏈変互涓婄殑浠g爜涔熷浜?姣曠珶榪欓噷鍙槸瑙e喅涓涓皬闂.