📄 rowactionedit.java
字号:
/**
*
*/
package pagecode.rowActions;
import pagecode.PageCodeBase;
import javax.faces.application.FacesMessage;
import javax.faces.component.html.HtmlForm;
import javax.faces.component.UIColumn;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlOutputText;
import javax.faces.component.html.HtmlDataTable;
import javax.faces.component.html.HtmlInputHidden;
import javax.faces.component.html.HtmlMessages;
import javax.faces.component.html.HtmlCommandLink;
import org.eclipse.emf.ecore.util.EcoreEList;
import java.util.List;
import com.ibm.samples.rowActionSelect.RowEditBean;
import com.ibm.websphere.sdo.access.connections.ConnectionManager;
import com.ibm.websphere.sdo.mediator.jdbc.ConnectionWrapperFactory;
import com.ibm.websphere.sdo.mediator.jdbc.ConnectionWrapper;
import com.ibm.websphere.sdo.mediator.JDBCMediator;
import com.ibm.websphere.sdo.mediator.exception.MediatorException;
import com.ibm.websphere.sdo.mediator.jdbc.JDBCMediatorFactory;
import com.ibm.websphere.sdo.mediator.jdbc.exception.OCCException;
import commonj.sdo.DataObject;
import java.sql.Connection;
/**
* @author nan
*
*/
public class RowActionEdit extends PageCodeBase {
protected HtmlForm form1;
protected UIColumn column13;
protected HtmlInputText text30;
protected HtmlInputText text31;
protected HtmlInputText text32;
protected HtmlOutputText text23;
protected HtmlOutputText text26;
protected HtmlOutputText text28;
protected HtmlDataTable table1;
protected UIColumn column8;
protected HtmlInputText text16;
protected HtmlInputText text17;
protected HtmlInputText text18;
protected HtmlInputText text19;
protected HtmlInputText text20;
protected HtmlInputText text21;
protected HtmlInputHidden text34;
protected HtmlOutputText text1;
protected HtmlOutputText text3;
protected HtmlOutputText text5;
protected HtmlOutputText text7;
protected HtmlOutputText text9;
protected HtmlOutputText text11;
protected HtmlOutputText text13;
protected HtmlOutputText text15;
protected HtmlOutputText text35;
protected HtmlDataTable table2;
protected UIColumn column10;
protected HtmlOutputText text25;
protected UIColumn column11;
protected HtmlOutputText text27;
protected UIColumn column12;
protected HtmlOutputText text29;
protected UIColumn column1;
protected HtmlOutputText text2;
protected UIColumn column2;
protected HtmlOutputText text4;
protected UIColumn column3;
protected HtmlOutputText text6;
protected UIColumn column4;
protected HtmlOutputText text8;
protected UIColumn column5;
protected HtmlOutputText text10;
protected UIColumn column6;
protected HtmlOutputText text12;
protected UIColumn column7;
protected HtmlOutputText text14;
protected UIColumn column9;
protected HtmlOutputText text22;
protected HtmlMessages messages1;
protected HtmlCommandLink link3;
private static final String SDOConnection_name = "JSFandSDO_Con";
private ConnectionWrapper SDOConnectionWrapper;
protected DataObject viewGradesParameters;
protected JDBCMediator viewGradesMediator;
private static final String viewGrades_metadataFileName = "/WEB-INF/wdo/viewGrades.xml";
private static final int viewGradesTargetPageSize = -1;
protected List viewGrades;
protected RowEditBean employee;
protected static final String[] viewGradesArgNames = {};
protected static final String[] viewGradesArgValues = {};
protected HtmlForm getForm1() {
if (form1 == null) {
form1 = (HtmlForm) findComponentInRoot("form1");
}
return form1;
}
protected UIColumn getColumn13() {
if (column13 == null) {
column13 = (UIColumn) findComponentInRoot("column13");
}
return column13;
}
protected HtmlInputText getText30() {
if (text30 == null) {
text30 = (HtmlInputText) findComponentInRoot("text30");
}
return text30;
}
protected HtmlInputText getText31() {
if (text31 == null) {
text31 = (HtmlInputText) findComponentInRoot("text31");
}
return text31;
}
protected HtmlInputText getText32() {
if (text32 == null) {
text32 = (HtmlInputText) findComponentInRoot("text32");
}
return text32;
}
protected HtmlOutputText getText23() {
if (text23 == null) {
text23 = (HtmlOutputText) findComponentInRoot("text23");
}
return text23;
}
protected HtmlOutputText getText26() {
if (text26 == null) {
text26 = (HtmlOutputText) findComponentInRoot("text26");
}
return text26;
}
protected HtmlOutputText getText28() {
if (text28 == null) {
text28 = (HtmlOutputText) findComponentInRoot("text28");
}
return text28;
}
protected HtmlDataTable getTable1() {
if (table1 == null) {
table1 = (HtmlDataTable) findComponentInRoot("table1");
}
return table1;
}
protected UIColumn getColumn8() {
if (column8 == null) {
column8 = (UIColumn) findComponentInRoot("column8");
}
return column8;
}
protected HtmlInputText getText16() {
if (text16 == null) {
text16 = (HtmlInputText) findComponentInRoot("text16");
}
return text16;
}
protected HtmlInputText getText17() {
if (text17 == null) {
text17 = (HtmlInputText) findComponentInRoot("text17");
}
return text17;
}
protected HtmlInputText getText18() {
if (text18 == null) {
text18 = (HtmlInputText) findComponentInRoot("text18");
}
return text18;
}
protected HtmlInputText getText19() {
if (text19 == null) {
text19 = (HtmlInputText) findComponentInRoot("text19");
}
return text19;
}
protected HtmlInputText getText20() {
if (text20 == null) {
text20 = (HtmlInputText) findComponentInRoot("text20");
}
return text20;
}
protected HtmlInputText getText21() {
if (text21 == null) {
text21 = (HtmlInputText) findComponentInRoot("text21");
}
return text21;
}
protected HtmlInputHidden getText34() {
if (text34 == null) {
text34 = (HtmlInputHidden) findComponentInRoot("text34");
}
return text34;
}
protected HtmlOutputText getText1() {
if (text1 == null) {
text1 = (HtmlOutputText) findComponentInRoot("text1");
}
return text1;
}
protected HtmlOutputText getText3() {
if (text3 == null) {
text3 = (HtmlOutputText) findComponentInRoot("text3");
}
return text3;
}
protected HtmlOutputText getText5() {
if (text5 == null) {
text5 = (HtmlOutputText) findComponentInRoot("text5");
}
return text5;
}
protected HtmlOutputText getText7() {
if (text7 == null) {
text7 = (HtmlOutputText) findComponentInRoot("text7");
}
return text7;
}
protected HtmlOutputText getText9() {
if (text9 == null) {
text9 = (HtmlOutputText) findComponentInRoot("text9");
}
return text9;
}
protected HtmlOutputText getText11() {
if (text11 == null) {
text11 = (HtmlOutputText) findComponentInRoot("text11");
}
return text11;
}
protected HtmlOutputText getText13() {
if (text13 == null) {
text13 = (HtmlOutputText) findComponentInRoot("text13");
}
return text13;
}
protected HtmlOutputText getText15() {
if (text15 == null) {
text15 = (HtmlOutputText) findComponentInRoot("text15");
}
return text15;
}
protected HtmlOutputText getText35() {
if (text35 == null) {
text35 = (HtmlOutputText) findComponentInRoot("text35");
}
return text35;
}
protected HtmlDataTable getTable2() {
if (table2 == null) {
table2 = (HtmlDataTable) findComponentInRoot("table2");
}
return table2;
}
protected UIColumn getColumn10() {
if (column10 == null) {
column10 = (UIColumn) findComponentInRoot("column10");
}
return column10;
}
protected HtmlOutputText getText25() {
if (text25 == null) {
text25 = (HtmlOutputText) findComponentInRoot("text25");
}
return text25;
}
protected UIColumn getColumn11() {
if (column11 == null) {
column11 = (UIColumn) findComponentInRoot("column11");
}
return column11;
}
protected HtmlOutputText getText27() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -