⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.java

📁 jsf 控件的中ajax的支持 jsf控件的应用
💻 JAVA
字号:
/** *  */package pagecode;import com.ibm.faces.component.html.HtmlScriptCollector;import com.ibm.faces.component.html.HtmlDataTableEx;import com.ibm.faces.component.UIColumnEx;import javax.faces.component.html.HtmlOutputText;import com.ibm.faces.component.html.HtmlCommandExButton;import javax.faces.component.html.HtmlPanelGrid;import javax.faces.component.html.HtmlForm;import com.ibm.faces.component.html.HtmlGraphicImageEx;/** * @author ykats * */public class Product extends PageCodeBase {	protected HtmlScriptCollector scriptCollector1;	protected HtmlDataTableEx tableEx1;	protected UIColumnEx columnEx1;	protected HtmlOutputText text1;	protected HtmlOutputText text2;	protected HtmlOutputText text3;	protected HtmlOutputText text4;	protected HtmlOutputText textId1;	protected UIColumnEx columnEx2;	protected HtmlOutputText textName1;	protected UIColumnEx columnEx3;	protected HtmlOutputText textDescription1;	protected UIColumnEx columnEx4;	protected HtmlOutputText textPrice1;	protected HtmlCommandExButton button1;	protected HtmlForm form1;	protected HtmlPanelGrid grid2;	protected HtmlPanelGrid product;	protected HtmlGraphicImageEx imageEx1;	protected HtmlScriptCollector getScriptCollector1() {		if (scriptCollector1 == null) {			scriptCollector1 = (HtmlScriptCollector) findComponentInRoot("scriptCollector1");		}		return scriptCollector1;	}	protected HtmlDataTableEx getTableEx1() {		if (tableEx1 == null) {			tableEx1 = (HtmlDataTableEx) findComponentInRoot("tableEx1");		}		return tableEx1;	}	protected UIColumnEx getColumnEx1() {		if (columnEx1 == null) {			columnEx1 = (UIColumnEx) findComponentInRoot("columnEx1");		}		return columnEx1;	}	protected HtmlOutputText getText1() {		if (text1 == null) {			text1 = (HtmlOutputText) findComponentInRoot("text1");		}		return text1;	}	protected HtmlOutputText getText2() {		if (text2 == null) {			text2 = (HtmlOutputText) findComponentInRoot("text2");		}		return text2;	}	protected HtmlOutputText getText3() {		if (text3 == null) {			text3 = (HtmlOutputText) findComponentInRoot("text3");		}		return text3;	}	protected HtmlOutputText getText4() {		if (text4 == null) {			text4 = (HtmlOutputText) findComponentInRoot("text4");		}		return text4;	}	protected HtmlOutputText getTextId1() {		if (textId1 == null) {			textId1 = (HtmlOutputText) findComponentInRoot("textId1");		}		return textId1;	}	protected UIColumnEx getColumnEx2() {		if (columnEx2 == null) {			columnEx2 = (UIColumnEx) findComponentInRoot("columnEx2");		}		return columnEx2;	}	protected HtmlOutputText getTextName1() {		if (textName1 == null) {			textName1 = (HtmlOutputText) findComponentInRoot("textName1");		}		return textName1;	}	protected UIColumnEx getColumnEx3() {		if (columnEx3 == null) {			columnEx3 = (UIColumnEx) findComponentInRoot("columnEx3");		}		return columnEx3;	}	protected HtmlOutputText getTextDescription1() {		if (textDescription1 == null) {			textDescription1 = (HtmlOutputText) findComponentInRoot("textDescription1");		}		return textDescription1;	}	protected UIColumnEx getColumnEx4() {		if (columnEx4 == null) {			columnEx4 = (UIColumnEx) findComponentInRoot("columnEx4");		}		return columnEx4;	}	protected HtmlOutputText getTextPrice1() {		if (textPrice1 == null) {			textPrice1 = (HtmlOutputText) findComponentInRoot("textPrice1");		}		return textPrice1;	}	protected HtmlCommandExButton getButton1() {		if (button1 == null) {			button1 = (HtmlCommandExButton) findComponentInRoot("button1");		}		return button1;	}	public String doButton1Action() {		// Type Java code that runs when the component is clicked			// TODO: Return outcome that corresponds to a navigation rule		// return "cart";		return "cart";	}	protected HtmlForm getForm1() {		if (form1 == null) {			form1 = (HtmlForm) findComponentInRoot("form1");		}		return form1;	}	protected HtmlPanelGrid getGrid2() {		if (grid2 == null) {			grid2 = (HtmlPanelGrid) findComponentInRoot("grid2");		}		return grid2;	}	protected HtmlPanelGrid getProduct() {		if (product == null) {			product = (HtmlPanelGrid) findComponentInRoot("product");		}		return product;	}	protected HtmlGraphicImageEx getImageEx1() {		if (imageEx1 == null) {			imageEx1 = (HtmlGraphicImageEx) findComponentInRoot("imageEx1");		}		return imageEx1;	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -