Passing parameters to Update page

Hi,
I created the search/create/update page going by the instructions in the tutorial exercise. My primary key is a combination of employee number AND sequence number.
When I query the employee in the search page and if the employee has more than one record it displays all the records for that employee.
When I click on the "update" button on one of the record, It is not displaying me the record on which I clicked the "update" button. Instead it is displaying me the other record for the same employee. I believe I need to pass the sequence value as the parameter, but do not know how to pass it. Can anyone one help me accomplish this?
Thanks in advance,
Al
Below is the CO code for SEARCH page:
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package lac.oracle.apps.lac.jobperf.server.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.apps.fnd.framework.OAApplicationModule;
import java.io.Serializable;
import java.sql.Connection;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OADBTransaction;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
//import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
import com.sun.java.util.collections.HashMap;
import oracle.bali.share.util.IntegerUtils;
* Controller for ...
public class jobperfCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
// The following checks to see if the user navigated back to this page
// without taking an action that cleared an "in transaction" indicator.
// If so, we want to rollback any changes that she abondoned to ensure
// they aren't left lingering in the BC4J cache to cause problems with
// subsequent transactions. For example, if the user navigates to the
//Create Review page where you start a "Create" transactio unit, then
//navigastes back to this page using the browser Back button and selects
// the Create Review button again, teh OA Framework detects this
// Back button navigation and steps through processRequest() so this
// code is executed before you try to Create another new Review.
if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"jobperfCreateTxn", false))
am.invokeMethod("rollbackReview");
TransactionUnitHelper.endTransactionUnit(pageContext,"jobperfCreateTxn");
else if(TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"jobperfUpdateTxn",false))
am.invokeMethod("rollbackReview");
TransactionUnitHelper.endTransactionUnit(pageContext,"jobperfUpdateTxn");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am;
OADBTransaction oadbxn;
am = pageContext.getRootApplicationModule();
oadbxn = am.getOADBTransaction();
if (pageContext.getParameter("Create") != null)
//Navigate to teh "Create Review" page while retaining the AM.
//Note the use of KEEP_MENU_CONTEXT as opposed to GUESS_MENU_CONTEXT
//since we know the current tab should remain highlighted.
pageContext.setForwardURL("OA.jsp?page=/lac/oracle/apps/lac/jobperf/webui/ReviewPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, //Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
else if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
String EmployeeNumber = pageContext.getParameter("EmployeeNumber");
String Seq = pageContext.getParameter("Seq");
//String EmployeeName = pageContext.getParameter("FullName");
System.out.println("Update Selected");
System.out.println(EmployeeNumber);
//System.out.println(EmployeeName);
System.out.println(Seq);
oadbxn.putValue("EmployeeNumber",EmployeeNumber);
oadbxn.putValue( "Seq",Seq);
//oadbxn.putValue("EmployeeName",EmployeeName);
HashMap params = new HashMap(2);
// Replace the current employeeNumber request parameter value with "X"
params.put("EmployeeNumber", EmployeeNumber);
//params.put("EmployeeName", "EmployeeName");
params.put("Seq", Seq);
// IntegerUtils is a handy utility
//params.put("EmployeeName", EmployeeName);
//params.put("EmployeeNumber",IntegerUtils.getInteger(1));
//params.put("EmployeeName",IntegerUtils.getInteger(2));
//params.put("Seq",IntegerUtils.getInteger(2));
// The user has clicked an "Update" icon so we want to navigate
// to the first step of the multistep "Update Employee" flow.
pageContext.setForwardURL("OA.jsp?page=/lac/oracle/apps/lac/jobperf/webui/UpdateReviewPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
params, //mir null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Do not display breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
Below is the CO code for UPDATE page:
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package lac.oracle.apps.lac.jobperf.server.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.jbo.domain.Number;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import java.io.Serializable;
* Controller for ...
public class ReviewUpdateCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
// Always call this first
super.processRequest(pageContext, webBean);
// Put a transaction value indicating that the update transaction
// is now in progress.
TransactionUnitHelper.startTransactionUnit(pageContext,"jobperfUpdateTxn");
String EmployeeNumber = pageContext.getParameter("EmployeeNumber"); //small e
String Seq = pageContext.getParameter("Seq");
System.out.println("Into ReviewUpdateCOUpdate IN Process Request values from Page Context");
System.out.println(EmployeeNumber);
//System.out.println(EmployeeName);
System.out.println(Seq);
// We'll use this at the end of the flow for a confirmation message.
String EmployeeName = pageContext.getParameter("FullName");
pageContext.putTransactionValue("FullName",EmployeeName);
Serializable[] params = { EmployeeNumber,Seq}; //small e
OAApplicationModule am = pageContext.getApplicationModule(webBean);
// For the update, since we are using the same VO as teg "Details" page, we
// can use the same initialization logic.
System.out.println("Into ReviewUpdateCOUpdate IN Process Request");
System.out.println(EmployeeNumber); //small e
//System.out.println(EmployeeName);
System.out.println(Seq);
am.invokeMethod("initDetails", params);
//am.invokeMethod("jobperfAMImpl.createReview");
System.out.println("Into ReviewUpdateCOUpdate IN Process Request AFTER INITDETAILS");
System.out.println(EmployeeNumber); //small e
//System.out.println(EmployeeName);
System.out.println(Seq);
} // end processRequest()
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
{    //super.processFormRequest(pageContext, webBean);
// Always call this first.
super.processFormRequest(pageContext, webBean);
System.out.println("Into ReviewUpdateCOUpdate INTO Process FORM before apply Request");
OAApplicationModule am = pageContext.getApplicationModule(webBean);
// Pressing the "Apply" button means the transaction should be validated
// and committed.
if (pageContext.getParameter("Apply") != null)
// Generally in the tutorial application and the labs, we've illustrated
// all BC4J interaction on the server (except for the AMs, of course). Here,
// we're dealing with the VO directly so the comments about the reasons
// why we're obtaining values from the VO and not the request make sense
// in context.
OAViewObject vo = (OAViewObject)am.findViewObject("jobperfVO1");
// Note that we have to get this value from the VO because the EO will
// assemble it during its validation cycle.
// For performance reasons, we should generally be calling getEmployeeName()
// on the EmployeeFullVORowImpl object, but we don't want to do this
// on the client so we're illustrating the interface-appropriate call. If
// we implemented this code in the AM where it belongs, we would use the
// other approach.
String EmployeeName = (String)vo.getCurrentRow().getAttribute("FullName");
// We need to get a String so we can pass it to the MessageToken array below. Note
// that we are getting this value from the VO (we could also get it from.
// the Bean as shown in the Drilldwon to Details lab) because the item style is messageStyledText,
// so the value isn't put on the request like a messaqeTextInput value is.
String EmployeeNumber = (String)vo.getCurrentRow().getAttribute("EmployeeNumber");
String Seq = (String)vo.getCurrentRow().getAttribute("Seq");
//ma String employeeNum = String.valueOf(employeeNumber.intValue());
//ma Number employeeNumber = (Number)vo.getCurrentRow().getAttribute("EmployeeNumber");
//ma String employeeNum = String.valueOf(employeeNumber.intValue());
// Simply telling the transaction to commit will cause all the Entity Object validation
// to fire.
// Note: there's no reason for a developer to perform a rollback. This is handled by
// the framework if errors are encountered.
System.out.println("Into ReviewUpdateCOUpdate IN Process Form Request");
System.out.println(EmployeeNumber);
//System.out.println(EmployeeName);
System.out.println(Seq);
am.invokeMethod("apply");
// Indicate that the Create transaction is complete.
TransactionUnitHelper.endTransactionUnit(pageContext, "jobperfUpdateTxn");
// Assuming the "commit" succeeds, navigate back to the "Search" page with
// the user's search criteria intact and display a "Confirmation" message
// at the top of the page.
MessageToken[] tokens = { new MessageToken("EMP_NAME", EmployeeName),
new MessageToken("EMP_NUMBER", EmployeeNumber) };
OAException confirmMessage = new OAException("PER", "LAC_FWK_TBX_T_EMP_CREATE_CONF", tokens,
OAException.CONFIRMATION, null);
// Per the UI guidelines, we want to add the confirmation message at the
// top of the search/results page and we want the old search criteria and
// results to display.
pageContext.putDialogMessage(confirmMessage);
pageContext.forwardImmediately(
"OA.jsp?page=/lac/oracle/apps/lac/jobperf/webui/jobperfPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
else if (pageContext.getParameter("Cancel") != null)
am.invokeMethod("rollbackReview");
// Indicate that the Create transaction is complete.
TransactionUnitHelper.endTransactionUnit(pageContext, "jobperfUpdateTxn");
pageContext.forwardImmediately("OA.jsp?page=/lac/oracle/apps/lac/jobperf/webui/jobperfPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
} // end processFormRequest()
Message was edited by:
user617353

Hi,
I created a new method(initQueryUpdate) in the VOImpl(here I am also setting the where clause).
Also created a method(initDetailsUpdate) in the AMImpl and I am calling the vo.initQueryUpdate in AM code.
I am also passing the parameters to method via a call in the ReviewupdateCO(am.invokeMethod("initDetailsUpdate", params);).
It is compiling the entire jpr without any errors.
When I Search an employee and clisk on the update button then I am geting the following error.
I tried to pass parameters by putting them on the update button property with the action type of "fireAction.
I also tried by making the actiontype "none" and putting the forwarding apge with parameters in the "Destination URL" property and still I get the error message when I run it. Any one has any clues.
Thanks in Advance,
Ali
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT
jobperfEO.EMPLOYEE_NUMBER,
jobperfEO.FULL_NAME,
jobperfEO.PERSON_ID,
jobperfEO.ASSIGNMENT_ID,
jobperfEO.PERIOD_START_DATE,
jobperfEO.PERIOD_END_DATE,
jobperfEO.REVIEW_DATE,
jobperfEO.REVIEW_TYPE,
jobperfEO.REVIEW_STATUS,
jobperfEO.JOB_CLASSIFICATION,
jobperfEO.DISTRICT,
jobperfEO.SUPERVISOR_ID,
jobperfEO.SUPERVISOR_EMPLOYEE_NUMBER,
jobperfEO.SUPERVISOR_NAME,
jobperfEO.QUALITY_OF_WORK,
jobperfEO.QUANTITY_OF_WORK,
jobperfEO.JOB_KNOWLEDGE,
jobperfEO.EFFICIENCY,
jobperfEO.RELATING_TO_OTHERS,
jobperfEO.INITIATIVE,
jobperfEO.RELIABILITY,
jobperfEO.HOUSEKEEPING_SAFETY,
jobperfEO.OVERALL_PERFORMANCE,
jobperfEO.SUGGESTED_IMPROVEMENT_AREAS,
jobperfEO.EMPLOYEE_COMMENTS,
jobperfEO.CREATED_BY,
jobperfEO.CREATION_DATE,
jobperfEO.LAST_UPDATED_BY,
jobperfEO.LAST_UPDATE_DATE,
jobperfEO.SEQ,
jobperfEO.SECOND_SUPRV_EMPNO,
jobperfEO.SECOND_SUPRV_FULLNAME
FROM apps.LAC_CM_PERF_REVIEW jobperfEO) QRSLT WHERE (SEQ = :1 AND ( UPPER(EMPLOYEE_NUMBER) like :3 AND (EMPLOYEE_NUMBER like :4 OR EMPLOYEE_NUMBER like :5 OR EMPLOYEE_NUMBER like :6 OR EMPLOYEE_NUMBER like :7))) ORDER BY EMPLOYEE_NUMBER ASC
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
     at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
     at lac.oracle.apps.lac.jobperf.server.webui.ReviewUpdateCO.processRequest(ReviewUpdateCO.java:116)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
     at _OA._jspService(OA.jsp:34)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
     at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
     at _OA._jspService(OA.jsp:39)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-01006: bind variable does not exist
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
     at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
     at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
     at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
     at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
     at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
     at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
     at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
     at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
     at lac.oracle.apps.lac.jobperf.server.jobperfVOImpl.initQueryUpdate(jobperfVOImpl.java:77)
     at lac.oracle.apps.lac.jobperf.server.jobperfAMImpl.initDetailsUpdate(jobperfAMImpl.java:129)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
     at lac.oracle.apps.lac.jobperf.server.webui.ReviewUpdateCO.processRequest(ReviewUpdateCO.java:116)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
     at _OA._jspService(OA.jsp:34)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
     at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
     at _OA._jspService(OA.jsp:39)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-01006: bind variable does not exist
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
     at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
     at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
     at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
     at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
     at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
     at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
     at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
     at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
     at lac.oracle.apps.lac.jobperf.server.jobperfVOImpl.initQueryUpdate(jobperfVOImpl.java:77)
     at lac.oracle.apps.lac.jobperf.server.jobperfAMImpl.initDetailsUpdate(jobperfAMImpl.java:129)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
     at lac.oracle.apps.lac.jobperf.server.webui.ReviewUpdateCO.processRequest(ReviewUpdateCO.java:116)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
     at _OA._jspService(OA.jsp:34)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
     at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
     at _OA._jspService(OA.jsp:39)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)

Similar Messages

  • Urgent! pass parameters between jsp pages

    Does anyone can give an example about how to pass parameters between jsp pages?
    This is what I do:
    pageContext.forward("pag_loginc.jsp?p_idusr=" + strUsr + "&c_password=");
    But when deployed is not working.
    Help is needed.

    can you put that stuff in the session context in the first page, then pull it out in the second page?

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • Need help in passing parameters from one page to another!

    Hi,
    I need to pass values that are retrieved from database from one page to another.
    But even when I use pageContext.putParameter(), I am not able to view the value in the 2nd page.
    Any pointers on how to pass parameters would be helpful..
    Thanks in advance!

    The requirement is on the main page there are 6 fields out of which 4 are read-only and are taken from the database and 1 is taken from database, but can be edited, and the 6th one is completly editable for the user. I am trying to pass these parameters using setForwardURL, and on the second page (Preview page, where all these fields are read-only), I am able to retrieve these parameters using pageContext.getParameters() and am able to display it as an exception but I am not able to set these into the fields using pageContext.putParameters().

  • Help needed in passing parameters between custom pages

    Hi,
    Thanks in advance for your help gurus. I am developing 2 new pages and both should have link between them. WHen I click a button on page A it will navigate to page B, I am passing 2 parameters to page B. Page B is rendered with the help of values passed. Page B has 2 OAMessageLovInput Bean for which I am setting their values based on the values passed using
    OAMessageTextInputBean custBean = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("CustID");
    custBean.setText(pageContext.getParameter("customerid"));
    Everything works great till now. Now I want to change the customer id on page B using the LOV ie I select a new customer and I tab out of the field, still the customer id is not changed, it is set to the old one only to which the bean is set to.
    What should I do get the new selected customer id to be populated on the LOV fields.
    Thanks,
    newbie

    newbie,
    You really do not need to explicitly set the customer Id through code. Just create a new LOV Mapping and make its return value to the MessageTextInputBean i.e CustID on base page and Lov Region Item would be the CustomerID of the Lov Table region.
    Create Custome ID in LOV Table region and set its render property to false. I am assuming that the custId is present in the LOV VO query.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I pass parameters in Dynamic Pages ????!!!!!!

    I have 4 dynamic pages, a user enters in variables on first page. At the next 3 dynamic pages I send the user to I have to display the items they entered on the first page in text items.
    How do I pass these variables ????
    thanks!
    null

    You could use somethings like this:
    <script>
    function setupInventoryReportURL(anchor) {
         var choice = document.getElementById('supplierCenter:inventory:categoryChooser');
         if (choice) {
              var url ='inventoryRPT.jsf' + '?currentCategoryName=' + choice.options[choice.selectedIndex].text;
              anchor.href = url;
         return true;
    </script>
    <h:form id="inventory">
         <h:panelGrid columns="1" border="1" cellpadding="5">
              <f:facet name="header">
                   <h:panelGrid columns="2" width="100%">
                        <h:outputText value="Inventory"/>
                        <h:outputLink value="inventoryRPT.jsf" onclick="setupInventoryReportURL(this)">
                             <h:outputText value="Report" styleClass="commandLink"/>
                        </h:outputLink>
                   </h:panelGrid>
              </f:facet>
    <h:panelGrid columns="2" width="100%">
         <h:panelGroup>
              <h:outputText value="Supply Category"/>
              <h:selectOneMenu id="categoryChooser" value="#{inventory.categoryId}" onchange="submit()"
              valueChangeListener="#{inventoryView.categoryChanged}" immediate="true">
              <f:selectItems value="#{inventory.categories}"/>
         </h:selectOneMenu>
             ..............................................Vladimir Perlov

  • ADF: Passing parameters from one page to another using setPropertyListener

    Hi,
    I'm trying to find a simple way to pass a parameter from one page to another.
    On the first page I have a table, the second page is a history page, showing the change history of rows from the table on the first page.
    In the table on the first page there's a unique column (an order number), the value of which is never changed for a given row.
    What I would like is to be able to pass the order number from the currently selected row of the first page on to the history page, making the history page show only the history for the given order number.
    Using the task-flow for the history page, I've defined an input parameter (an order number), defined a criteria and so on. I've tested the functionality of this in the Application Module, and it seems to work.
    My problem is passing the order number from the first page to the second.
    I've created a Managed Bean, with a variable for the current order number, including accessors. On the table on the first page, I've created a contextMenu, and added an Item called "Show history" with an action that navigated from the first to the second page (a control flow I've defined in adfc-config). I've included a setPropertyListener in the "Show history" item. I've set the "From" property of the setPropertyListener to "#{row.ordernumber.attributeValue}" and the "To" property to point at the order variable in the Managed Bean. Finally, I created a new page for the history, dragged the history task flow onto this page as a region, using the Managed Bean order variable as input parameter.
    The result is this: When I bring up the context menu from a row in the table on the first page and select "Show history", I get this error: "The class 'java.lang.String' does not have the property 'attributeValue'."
    That's a bit puzzling to me, seeing as I used the Expression Builder to fill out the "From" property. I've tried using "inputValue" instead of "attributeValue", but that simply changes the error message to: "The class 'java.lang.String' does not have the property 'inputValue'."
    What am I doing wrong?
    Regards,
    Andreas

    Hi Timo and Puthanampatti,
    I actually tried something similar to what you have suggested before starting this thread, but still got an error. What I hadn't spent a lot of time investigating initially was that it gave a DIFFERENT error. But after reading Timo's suggestion, I went back to this other error and found out that it was connected to my Managed Bean. For some reason, I had made the mistake of giving the bean the same name (in adfc-config) as the actual java class. And this leads to a circular reference error (that I would only get to see when I didn't get the java.lang.String error first).
    Having fixed this, I can successfully pass my parameter from one page to another (with the "From" property of the setPropertyListener set to "#{row.ordernumber}").
    Thanks for your time,
    Andreas

  • Passing parameters on a page for customize chart

    On the customize screen of a chart I have, i can select startdate and enddate. I want users to be able to do that on one page.
    So on top of the page a portlet with the two date-select fields. And beneath that a portlet with a chart. Once the user changes a date, the chart has automaticcaly rebuild itself with the new parameters.
    Thanks.

    Hi,
    You can call the customization form in a dynamic page and publish the dynamic page as a portlet on a page. In the same page you can publish the chart portlet.
    You can also refer to this for more details on how to do it.
    Re: Another process (thread) is applying transactions for this client:
    Thanks,
    Sharmila

  • Question on passing parameters between 2 pages in a BSP application

    Hi Group,
    I have defined a page attribute "zcid" in both the pages where I need this attribute value. And in one page I calculated a value and assigned it to this attribute. And also I checked the attribute as "Auto" in both pages.
    And I used navigation->set_parameter( name = 'zcid' and value = zcid ), I was getting an error saying, use "." after name and not proceeding any further.
    Please let me know the procedure for accessing a value of an attribute in Multiple pages within a BSP application.
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Vishnu
    To pass the parameter,
    Firstly the name of attributes should be same of both pages and the check of AUTO should be checked on target page.
    I am giving you small example to pass the Firstname parameter from Default.htm to Result.htm .
    the Parameter name in Default.htm is --> fname type string.
    --> Auto should not check
    the Parameter name in Result.htm is --> fname type string.
    --> Auto should be checked.
    in Default.htm inputprocessing use the code
    navigation->set_parameter( 'fname' ).
    navigation->next_page( 'TORESULTS' ).
    or
    For more detail you may also go through the following links
    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
    If this will helpful please reward the points
    Kuldeep Verma

  • How to pass parameters to a page invoked using java script.--- Very Urgent.

    Hello,
    I have an advanced Table in my page. In the first column there is a
    messageChoice. In the second column there is link item.On the link item i have set the following value for destination uri.
    javascript:var a=window.open('OA.jsp?page=/AutoSales/oracle/apps/per/auto/webui/AutoSurrogatesPG&retainAM=Y','a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbar=yes'); a.focus();
    The user selects a value from the message choice and when he clicks on the link item, the value selected from the list should go to the new page invoked using java script as a parameter. I need the value selected from choice to generates few fields in the new page. I have preferred java script because i need the base page and a model window should open. I have tried using setForwardUrl() and setting '_blank' and new window for target frame property on the link item. But it isnt working. The new page is opening in the same window.
    I have also tried putting the value in a session.
    Please help with any kind of suggestions or solutions.
    Thank you.

    Uma,
    You need to
    - Have a PPR Action on the messageChoice (this would trigger a form submit to populate the underlying View Attribute)
    - Either
    - Retrive the value from the View Attribute in the pop-up page (as I could see that you are retaining the AM)
    - Use a SPEL in the link (on the modal page) to use the value from the View Attribute as the parameter value (in the form ${oa.current.<ViewAttributeName>)
    HTH

  • Passing values to next page on Update image click?

    Hi Everyone,
    I have developed one OAF page which has onw table data to show. The last column is Update Image icon.
    Columns are like this: Eno, enmae, comm, address, salary, update.
    On clicking on update icon on any row the corresponding Eno and Ename should be passed to next Update page and these two values has to be displayed on teh Update page.
    How can i do that?
    Please help...
    Thanks.

    PPR event on Update Image would do the magic for you.
    Go to the properties of the Image icon and select below
    1) Action Type : fireAction
    2) Event : updateEmp (This event needs to be captured in the page CO)
    3) Parameters :
    a)pEmpNo : ${oa.current.EmpNoID} (EmpNoID is the view attribute for Employee Number. You keep proper name of your VO attribute here)
    b)pEmpName : ${oa.current.EmpName} (EmpName is the view attribute for Employee Name. You keep proper name of your VO attribute here)
    c) Add more parameters if you want to pass maore
    4) In processFormRequest of the page catch the event 'updateEmp' and forward to the next page
    String eventRaised = pageContext.getParameter("event");
    if ("updateEmp".equalsIgnoreCase(eventRaised)) {
    HashMap actionHashMap = new HashMap();
    String pEmpNo= pageContext.getParameter("pEmpNo");
    String pEmpName = pageContext.getParameter("pEmpName");
    actionHashMap.put("pParamEmpNo", "{!!" + pageContext.encrypt(pEmpNo)); --always encrypt
    actionHashMap.put("pParamEmpName", "{!!" + pageContext.encrypt(pEmpName ));
    pageContext.setForwardURL(include the next page function/URL and other parameters along with actionHashMap);
    5) In the next page CO, get the passed parameters in processRequest using
    String pEmpNo= pageContext.getParameter("pParamEmpNo");
    String pEmpName = pageContext.getParameter("pParamEmpName");
    --Do your other stuff on how to use these parameters
    Hope this will direct you properly.
    Regards,
    Peddi

  • OAF: passing parameters to report from OAF page and running concurrent prog

    Hi Everyone,
    i have an OAF page with 10 fields after filling those fields i need to press "Submit" button.
    On pressing Submit button 5 parameters i have to pass to the xml publisher report to run the concurrent program and display the output in pdf format.(Out of 10 fields on the page the first 5 fields will be passed as parameters)
    How can i pass parameters from OAF page to the report(concurrent program)?
    and how can i call concurrent program?
    and how can display the output of the report in pdf format after calling the concurrent program?
    Any answers will be really useful...
    Thanks in advance.
    Thanks.

    Hi kumar ,
    XML report will generate output in PDF format , first you need to try generating report separately , manually submit
    the concurrent program and make sure every thing goes well .
    Once the above step is done you can try to submit the concurrent from controller class . The submitRequest method
    will return the request ID of the concurrent program .
    Now with the help of this request ID you can redirect the page to Oracle standards Request Page( you can monitor
    the status of concurrent program and view output ) this can be done with the following piece of code
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode","FNDCPREQUESTVIEWPAGE");
    String id = "" + return_reqId + "";
    parameters.put("requestMode","DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,parameters,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO ,OAWebBeanConstants.IGNORE_MESSAGES);
    Keerthi

  • Passing Parameters between 2 Portlets on 1 Page

    Hi,
    I'm new to this portlet stuff and I might miss something important, but:
    I "just" want to send parameters from one form on one Page to a portlet on the same page...
    PassAllParameters is already set to true...
    I also have read the "Primer" and the "Adding Parameters and Events to Portlets", after giving up to do this my own, I just copied and pasted the Name/Age Form JSP (nearly... I've made Java out of it...) as my DataProvider Portlet and copied and pasted the "Generic Public Parameter Receiving Portlet" as my DataReceiver Portlet... the Event and Parameter Tags are NOT missing in the provider.xml... but even after pressing submit there are no parameters at all avaible for the "receiving Portlet"!!!
    PLEASE can someone tell me what I am doing wrong?!?!?!?

    Hi friends,
    I worked with the application which is in
    http://server:port/jpdk/providers/event. is working fine with passing parameters to another page.
    Also I create my own application which is working fine if i have the 2 portlets in the same page.
    But it is not working with portlets in different page. On clicking the link it is not going to the another page. Hereby i give the required codes.
    portletpass.jsp:
    PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String eventSubmit = EventUtils.eventName("submit");
    String eventParamsno = EventUtils.eventParameter("sno");
    String strsno="50" ;
    NameValuePair[] linkParams = new NameValuePair[2];
    linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, eventSubmit), "");
    linkParams[1] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, eventParamsno),strsno);
    <a href="<%=PortletRendererUtil.constructLink(prr,
      prr.getRenderContext().getEventURL(), linkParams, true, true)%>"><%= strtitle %>
    </a>
    provider.xml of portletpass.jsp:
    <event class="oracle.portal.provider.v2.DefaultEventDefinition">
    <name>submit</name>
    <parameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>sno</name>
    <displayName>sno</displayName>
    </parameter>
    </event>
    portletreceive.jsp:
    PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    //      String snosp = "sno", snorec="" ;
    //     String values = prr.getParameter("sno") -------returns null
         String values = prr.getParameter("_page_url");
         String snorec = values.substring(values.lastIndexOf("sno=")+4) ;
         out.println(snorec); // here i get the required value
    provider.xml of portletreceive.jsp:
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>sno</name>
    <displayName>Input Parameter #1</displayName>
    </inputParameter>
    Also i did the necessary changes in parameters and events tab as well.
    I cant sorted out what is the mistake i did.
    The scenario i need is on clicking the link it should display the details in a new page.
    Can anybody please help me.
    Thanks in advance
    Durai

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

  • Passing parameters to web based oracle forms

    Hi,
    How can I pass parameters from web page to oracle form applet? OR is there anyway i can know (within a form) if that form is run from a client/server or from web. This is just to set some parameters depending on the condition: client/server or web application.
    thank you

    To know if you are on the Web use the get_application_property built-in, check out the online help for it.
    To pass parameters - if you are using the forms servlet you can pass parameters on the URL that calls your Forms application.

Maybe you are looking for

  • How to store smartform in the table TOA03 so that it can be archived later.

    Hi Friends, i have a very urgent requirement i.e to store the complete smartform in the link table TOA03 so that it can be archived later i.e it can be printed later. At present what i am doing is i am passing the parameters ARC_PARAMS and ARCHIVE_IN

  • HT1338 My Macbook keeps logging me out and deleting my work

    My mac book pro keeps logging me out randomly and when i log back in every web page and word document i had open has gone. Iv lost lots of work and e-mails through this..... I have just changed the log out time settings to never....hopefully that wor

  • Session and memory details!

    Hi! My log file shows as follows: metrics Web threads (busy/total): 0/5 Sessions: 575 Total Memory=57624 Free=25022 What's does it mean?Is it a good sign?I am having 575 live sessions?Can anybody explain pl!Thanks

  • "Like-New" Refurb Tomorrow...

    This is my 3RD DX everyone...I had thought I read enough on these forums to maybe follow through with the perfect update and FR. Everything seemed fine, but two weeks later...(well we all know the DX/GB problems) I need another replacement. What inst

  • Reinstall bridbe

    is there a way to reinstall bridge from PS CS3 disk? also have web premium and in design disks. thanks David