filippo1980
Programmer
Hi All,
I have a simply JSP's form when I insert something that must copied in a Oracle DB. Now my problem is that I can't commit....
I know that perhaps I must use this method: handleCommit in oracle.jbo.html.databeans.EditCurrentRecord
Now my problem is:
WHERE???????
This is my page PLZ Help me.
[JSP CODE]
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, javax.sevlet.*, oracle.jbo.common.appmgr.*, oracle.jbo.html.databeans.*" %>
<html>
<head>
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<LINK REL=STYLESHEET TYPE="text/css" HREF="/webapp/css/oracle.css">
</head>
<body>
<center><h2>Nuova bolla.</h2></center>
<a href="javascript:history.go(-1)" >Cancel Insert Form</a>
<br>
<TR><td><A HREF="main.jsp" target=contentsFrame>Main</a></td></TR>
<br>
<jsp:useBean id="RowEditor" class="oracle.jbo.html.databeans.EditCurrentRecord" scope="request">
<%
RowEditor.initialize(application, session , request, response, out, "package1_Package1Module.RmBollaView"
RowEditor.setUseRoundedCorners(true);
RowEditor.setTargetUrl("SubmitFormInserimento_Bolla2.jsp"
RowEditor.setDisplayAttributes("IdbollaS,DatoraT"
RowEditor.createNewRow();
RowEditor.getFieldRenderer("IdbollaS".setDisplayWidth(30);
RowEditor.getFieldRenderer("IdbollaS".setPromptText("Progressivo"
RowEditor.getFieldRenderer("DatoraT".setDisplayWidth(30);
RowEditor.getFieldRenderer("DatoraT".setPromptText("Data e ora bolla"
RowEditor.setReleaseApplicationResources(true);
RowEditor.render();
%>
</jsp:useBean>
</body>
</html>
[/JSP CODE]
I have a simply JSP's form when I insert something that must copied in a Oracle DB. Now my problem is that I can't commit....
I know that perhaps I must use this method: handleCommit in oracle.jbo.html.databeans.EditCurrentRecord
Now my problem is:
WHERE???????
This is my page PLZ Help me.
[JSP CODE]
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, javax.sevlet.*, oracle.jbo.common.appmgr.*, oracle.jbo.html.databeans.*" %>
<html>
<head>
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<LINK REL=STYLESHEET TYPE="text/css" HREF="/webapp/css/oracle.css">
</head>
<body>
<center><h2>Nuova bolla.</h2></center>
<a href="javascript:history.go(-1)" >Cancel Insert Form</a>
<br>
<TR><td><A HREF="main.jsp" target=contentsFrame>Main</a></td></TR>
<br>
<jsp:useBean id="RowEditor" class="oracle.jbo.html.databeans.EditCurrentRecord" scope="request">
<%
RowEditor.initialize(application, session , request, response, out, "package1_Package1Module.RmBollaView"
RowEditor.setUseRoundedCorners(true);
RowEditor.setTargetUrl("SubmitFormInserimento_Bolla2.jsp"
RowEditor.setDisplayAttributes("IdbollaS,DatoraT"
RowEditor.createNewRow();
RowEditor.getFieldRenderer("IdbollaS".setDisplayWidth(30);
RowEditor.getFieldRenderer("IdbollaS".setPromptText("Progressivo"
RowEditor.getFieldRenderer("DatoraT".setDisplayWidth(30);
RowEditor.getFieldRenderer("DatoraT".setPromptText("Data e ora bolla"
RowEditor.setReleaseApplicationResources(true);
RowEditor.render();
%>
</jsp:useBean>
</body>
</html>
[/JSP CODE]