Passing parameters in Actions

Hi,
Can we pass parameters while defining actions .generally we pass it while declaring methods .
Thanks .

Hi,
Yes, you can create parameters after defining the actions.
Go to the actions Tab and create a new action there.
and then add parameters in the action.
these parameter will automatically come to the corresponding methods.
Feel free to ask queries.
Regards,
Praveen

Similar Messages

  • Cannot pass parameters from action class to jsp using arraylist

    hi all,
    Im using datasource for jdbc connection.now i want to pass the selected values in action class from database to a jsp page.I want to use arraylist.But im not familar with arraylist.can anybody help .plzzzzzzzzzzz

    You can use plain javabeans to transfer the data. Check out the jsp:usebean tag. If you don't know how to do, check out the Java EE tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/ Using javabeans in JSP pages starts halfway chapter 4.

  • Passing Parameters to ActionForward from Action

    Hi,
    Can anyone please describe me how to pass parameters from an Action to corresponding ActionForward.
    Basically, I am having only the jsp name in forward in struts-config.xml. But, when action is processed, I want to send some parameters to the corresponding actionforward.
    Can some be help me in explaining how it can be achieved.
    Thanks,
    Siva

    No Parameters will be dynamic.

  • Is it possible to pass parameters for the action in the confirmation dialog

    I tried it but a null pointer exception is occuring. Is it possible to pass parameters ,if s give the solution....
    Thanks and regards.
    Karthik.

    Hi Karthi,
    Directly it is not possible. You can achieve it by this way.
    1>     Create 2 Event Handlers  say “OK” and “OKTest”.
    public void OK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin OK(ServerEvent)
        String param = "abc";
        wdThis.OKTest(wdEvent,param);
        //@@end
    public void OKTest(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String paramtest )
        //@@begin OKTest(ServerEvent)
         wdComponentAPI.getMessageManager().reportSuccess("Param : "+paramtest);
        //@@end
    2>     Code for popup.
                    String dialog = "No of Rows : ";
                    IWDConfirmationDialog confDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialog,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("OK"),"OK");
                    confDialog.setTitle("Test Window");
                    confDialog.show();
    /thread/66776 [original link is broken]
    Regards,
    Mithu

  • 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)

  • OBIEE 11G - Issue passing parameters between two reports

    Hi folks,
    I am struggling to pass parameters between two reports in OBIEE 11G.
    My first report contains the following columns: Rolling Year Type (VCHAR), Year(VCHAR), Month(VCHAR), Cost(Double).
    My second report contains the following columns: Rolling Year Type(VCHAR), Year(VCHAR), Month(VCHAR), Category(VCHAR), Cost(Double).
    My requirement is to pass the Rolling Year Type, Year and Month values from report 1 to report 2.
    On the Month column properties of report 1, I have created an Action Link called 'Drill to Category'. I have clicked on 'Navigate to BI Content' and selected Report 2.
    Then on Report 2, I have included three filters: Rolling Year Type is prompted, Year is prompted, Month is promted.
    When I run the report I always get the following error:
    The specified criteria didn't result in any data. This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
    When I check the cursor cache, the filter values are correct. Does anybody have any idea why Report 2 does not display?
    When I remove the Month filter, the report works correctly.
    I have since changed the third filter to be Month No and although Report 2 does display, it does not pick up the filter on the Month No.
    I initially thought this may have been a caching issue and so I have disabled BI Server Cache but this does not fix my problem.
    This was never an issue on OBIEE 10G as I found it very easy to navigate between two requests.
    Has anyone else experienced problems with passing parameters between two request in 11G?
    Any help appreciated.
    Thanks
    Gavin

    Hi,
    I once tried this kind of requirement(with dashboard prompts though) and hit at similar issue. I later found out that the problem is with the space in the parameter values. Can you please let me know, if the same is the case with you?
    Suppose the parameter passed is "Jan 2010", but the report on the destination takes the value as "Jan" & "2010". Yes, it kind of split the parameter value to two based on space. I think we can notice the filters the destination report got, by enabling filter view.
    In this case, since you pass only value at a time, could you try placing the parameter value anyway in double quotes? I think the Server then will understand it as one value.
    Thank you,
    Dhar

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • Passing parameters between portlets

    Hi , I have a page with two portlets : one , done with the wizard , is a form , the other one is another form , but is done with a JSP.
    My trouble is that with the second form , the one done with a JSP , I must insert into the database two values , one retrieved by the jsp itself , and the other one is a value of one field of the other form.
    My question is how can I get , from my jsp , that value coming from the other portlet ???
    Thanks
    max

    Hi,
    You can redirect to another page and pass parameters to it. For this, you need to know the pageid to which you have to redirect. Assign form action to
    http://machine:port/servlet/page
    PageServlet requires few other parameters (form fields) to redirect the control to the required page.
    You can get them by making a call to
    HttpPortletRendererUtil.htmlFormHiddenFields(pr,PortletRendererUtil.PAGE_LINK)
    This returns a string similar to the following.
    <INPUT TYPE="hidden" name="_pageid" value="54" />
    <INPUT TYPE="hidden" name="_dad" value="portal30" />
    <INPUT TYPE="hidden" name="_schema" value="PORTAL30" />
    Parse it for _pageid and change the value to the page you want to redirect. Print these contents inside your form. Once you submit the form, it'll redirect the control to the page you want with the parameters.
    --Sriram

  • Pass parameters into iBot?

    Hi,
    We are trying to use iBots to generate a set of PDF files for many different parameter combinations. Is it possible to pass parameters (like a parameter file) into an iBot and have it run the same answers request for each row in the parameter file, and then save the PDF output to a local directory on the server? I think BI Publisher is better suited for this task but it is not an option for us right now.
    Any suggestions?
    Thanks

    I guess I am unclear of how to automate this - I tried a simple java application from example I found on the web, calling a single Go URL, and it does not save in PDF format. Instead, I get a file with PDF extension but it's actually HTML content. The same code works if I call a direct URL to pdf file.
    Is there some way to automate these Go URLS within OBIEE?
    Here is the code I used if anyone is interested (doesn't seem to work with OBIEE though):
        public static void main(String[] args) throws Exception {
            URL u = new URL("http://localhost:9704/analytics/saw.dll?Go&NQUser=Administrator&NQPassword=Administrator&Path=/shared/Sample%20Sales/Reports/History&Action=Print&Format=pdf");
            URLConnection uc = u.openConnection();
            String contentType = uc.getContentType();
            int contentLength = uc.getContentLength();
            if (contentType.startsWith("text/") || contentLength == -1) {
              throw new IOException("This is not a binary file.");
            InputStream raw = uc.getInputStream();
            InputStream in = new BufferedInputStream(raw);
            byte[] data = new byte[contentLength];
            int bytesRead = 0;
            int offset = 0;
            while (offset < contentLength) {
              bytesRead = in.read(data, offset, data.length - offset);
              if (bytesRead == -1)
                break;
              offset += bytesRead;
            in.close();
            if (offset != contentLength) {
              throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
            String filename = new String();
            filename = u.getFile();
            filename = u.getFile().substring(filename.lastIndexOf('/') + 1);
            filename = "obieetest.pdf";
            FileOutputStream out = new FileOutputStream("output/" + filename);
            out.write(data);
            out.flush();
            out.close();
        }

  • Passing Parameters to Bounded Task Flow from JSPX

    Hi All,
    1. Created a JSPX page using UIShell template.  This page contains 4 UI Components (InputComboBoxListOfValues) in SingleObjectContextArea.  Created a Managed Bean for this page and capture the selected value in ValueChangeListner and added the value to pageFlowScope.
    2. Created Unbounded Task Flow, dragged the JSPX page.
    3. Have a existing Bounded Task Flow with page fragments, it has MethodCall activity which is expecting inputParameter values from JSPX.
    4. To call the Bounded Task Flow from Unbounded Task Flow (has JSPX page) created 2nd JSPX page using UIShell template.
    5. Dragged the existing Bounded Task Flow into 2nd JSPX page, in context menu selected Region.  This Region is created in SingleObjectContextArea of UIShell.
    6. When dragged its asking about inputParameter mapping of Bound Task Flow.
    7. Configured the inputParameter value which are coming from pageFlowScope.
    8. Dragged the controlFlow from 1st JSPX to 2nd JSPX page to complete the Navigation.
    9. When running the Unbounded Task Flow, it showing 1st JSPX with LOV.
    10. Selected the values and clicked on Submit Action.
    11. Its now showing 2nd JSPX which contains Bounded Task Flow.
    12. But its displaying empty records table.  (Note: I am passing parameters to MethodCall inputParameters as pageFlowScope, My DB has displaying records based on inputParameters when tested it from OrcleSQLDeveloper)
    Could any body help me on this issue.
    My Code Snippets of Data Binding of 2nd JSPX page which has Bound Task Flow as a regionModel.:
    <taskFlow id="TaskFlow1"
                  taskFlowId="/WEB-INF/oracle/apps/TaskFlow1.xml#TaskFlow1"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="PartnerKeyType" value="#{pageFlowScope.PartnerKeyType}"/>
            <parameter id="PartnerKey1" value="#{pageFlowScope.PartnerKey1}"/>
            <parameter id="InteractionPartnerRole"
                       value="#{pageFlowScope.InteractionPartnerRole}"/>
            <parameter id="BusinessProcessName"
                       value="#{pageFlowScope.BusinessProcessName}"/>
          </parameters>

    Hi
    first of all Can you get the pageFlow scope variable in taskflow?which you are passing from jspx page?
    if you are able to get the Lov value in Taskflow try refresh taskflow on changing the LOV.
    you need to add input parameter type as boolean,change the parameter from false to true when the LOV value changed.
    now use refreshifNeeded property in pagedef bindings file

  • Calling WebDynpro Application and Passing parameters

    Hi,
    I want to call a webdynpro application from another application and also i want to pass parameters to the called webdynpro application.
    Is there an example on SDN which shows how this can be done. If not please advise how this can be done.
    Thanks and Regards
    Sidharth

    Hi Sidharth,
    until the tutorial is available, here's a step by step guide.
    1. Create an outbound exit plug, for example "CallApp" in an interface view controller belonging to the calling component.
    2. Add a string parameter 'Url' to the plug "CallApp". It's important that the parameter starts with uppercase 'U'.
    3. Declare a controller usage of the interface view controller for the view controller, which will fire the plug.
    4. Add an action to the calling view controller.
    5. Add the following code snippet to the method body of the action handler. Change the application name "CalledApp" to the name of your called application and the wdThis.wdGet<YourInterfaceView>Controller().wdFirePlugCallApp(url) so that it matches the names you defined. The example will not work, if the application is not part of the deployable object the calling component resides in.
    IWDDeployableObject componentDPO = wdComponentAPI.getDeployableObjectPart().getDeployableObject();
    String appName = "CalledApp";
    WDDeployableObjectPart[] applicationParts = componentDPO.getParts(WDDeployableObjectPartType.APPLICATION);
    WDDeployableObjectPart appPart = null;
    for (int idx = 0; idx < applicationParts.length; idx++) {
      appPart = applicationParts[idx];
      if (appPart.getShortName().equals(appName)) {
        break;
      appPart = null;
    if (appPart == null) {
      throw new WDRuntimeException(
        "The application: " + appName + " is not a part of: " + componentDPO.getName());
    Map urlParameters = new HashMap(1);
    urlParameters.put(ClientConstants.APPLICATION_PREFIX + "Param1", "Parameter sent by caller.");
    try {
      String url = WDURLGenerator.getApplicationURL(appPart, urlParameters);
      wdThis.wdGet<YourInterfaceView>Controller().wdFirePlugCallApp(url);
    } catch (WDURLException e) {
      throw new WDRuntimeException(e);
    6. Add a string value attribute named "ReceivedParameter" to the context of the component controller owning the target interface view.
    7. Declare a controller usage of this component controller for the target interface view controller.
    8. Add a startup plug to the target interface view controller. Add a parameter ("Param1" in this example) to the plug. It's important, that the name of the plug parameter is the same (case sensitive) as used for the URL generation.
    9. Add the following to the method body of the startup plug handler:
    wdThis.wdGet<YourComponent>Controller().wdGetContext().currentContextElement().setReceivedParameter(Param1);
    10. To check, if the parameter passing works, map a value attribute in a view controller to the component controller context and bind e.g. the text property of a TextView to that attribute.
    Hope that helps.
    Regards
    Stefan

  • How to pass parameters to automation plugin to Javascript

    Hello,
    We can call automation plugin from java script below code.
    var xx = stringIDToTypeID( "459ac2e6-82d1-11d5-9879-00b0d0201111" );     // Has will be the unique ID for this plugin
    executeAction( xx, undefined, DialogModes.NO );
    I am trying to passing parameters for the same plugin.
    I tried to find a way myself following plug-in resource guide but there information is not so clear.
    Can you tell me,
    How to define parameters in terminology file. (my guess it should be define in terminology file)
    How to JS call with parameters
    And how to extract those parameters inside plugin.
    Sample Pipl.r file  (This is from C++ plugin in SDK)
    // Dictionary (scripting) resource
    resource 'aete' (16000, "Getter dictionary", purgeable)
           1, 0, english, roman, /* aete version and language specifiers */
                "Testing", /* vendor suite name */
                "Adobe example plug-ins", /* optional description */
                'get ', /* suite ID */
                1, /* suite code, must be 1 */
                1, /* suite level, must be 1 */
           { /* structure for automation */
           plugInName, /* name */
           "No comment", /* optional description */
           'get ', /* class ID, must be unique or Suite ID */
           'getr', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */   <-- According to the documentation, I guess here should be come parameters.  (para name, keyID, typeID )
                { // filter or selection class here:
      {}, /* non-filter/automation plug-in class here */
      {}, /* comparison ops (not supported) */
      { // Enumerations go here:
      } /* end of any enumerations */
    // end GetterPiPL.r
    Thank you.

    Hello Mack,
    Thanks for your detail explanation.
    Actually, I haven't much play with PS javascripting plugins niter Fit image.
    The key points I have figure out that, the way you attached parameters to descriptor and point of finding some light from listener.
    That made me a conceptual idea, although I did not get all the mention facts.
    My previous guess was correct.
    Parameter should be something like below according to PiPL grammar. (in Sample Pipl.r file)
    'mymod', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */ 
                "action",    /* name for parameter*/
                 keyMyPara,    /*Key parameter you have define in terminology file*/
                 typeChar,       /*parameter type*/
                 "",     /*optional description*/
                 flagsSingleParameter     /*flags */
    The UUID is enough for calling plugin, only challenge was to define parameter wtr grammar at PiPL and read it at C++ end.
    Another important fact is that we have the message pointer which points to above plug-in parameters.
    Automation plugin would give that access.

  • JSF (Trinidad) passing parameters visibly on URL

    Hi,
    I can pass parameters with managed beans, but i they are not visible on url and i want some parameters to be visible so that user can copy-paste and share with someone else..
    How can i handle it? For example:
    user/userinfo.xhtml?id=123456
    Thanks
    Edited by: oak on Nov 30, 2008 1:47 PM
    Edited by: oak on Nov 30, 2008 2:02 PM

    Hi,
    if your attribute is on a input component (hidden or otherwise) it will be passes to the next page when the page is submitted.
    If you want the parameter to be appended to the URL/I then you need to change the form method to GET rather than POST.
    To operate on the parameter on the target page you can create an invoke action on the target pages page definition to do something in the model with the passed value.
    in PageDef of target page:
    Params section:
    <parameters>
        <parameter id="id"/>
      </parameters>in Bindings section:
    <methodAction id="findEmpById"
                      InstanceName="HRServiceDataControl.dataProvider"
                      DataControl="HRServiceDataControl" RequiresUpdateModel="true"
                      Action="invokeMethod" MethodName="findEmpById"
                      IsViewObjectMethod="false">
          <NamedData NDName="num" NDValue="${param.id}" NDType="java.lang.String"/>Invoke action in executables section to call the method above only if param id is passed:
    <executables>
        <invokeAction Binds="findEmpById" id="invokeFindByID" Refresh="ifNeeded"
                      RefreshCondition="${param.id != null}"/>
      </executables>AM method to do something with the param:
        public void findEmpById(String num){
            if (num != null){
                System.out.println("ID is: " + num);   
            }else {
                System.out.println("ID is: null");
        }Brenden

  • Login Form - pass parameters to remote site

    Hi,
    I need to create a login form on site A which passes parameters (username;company; password) to site B. The user will then be logged into site B in a new window.
    I guess this can be done in php on site A but my php skills are sketchy to say the least.
    What I understand I need to do is send a GET request to http://site_b/login.asp?username=XXXX&company=XXXX&password=XXXX where the XXXX values come from the form on site A.
    This is what I have (which is probably way out)...
    <form method="get" action="http://site_b/login.asp?username=$username&company=$company&password=$password">
            Username: <input type="text" name="username"  <?php {echo "value=''username";}?>   /><br />
            Company: <input type="text" name="company" <?php {echo "value='$company'";}?>/><br />
            Password: <input type="password" name="password" <?php {echo "value='$password'";}?>/><br />
        <input type="submit" value="Login" /><br />
        </form>
    ....of course it doesn't work.
    I would be grateful if someone could point me in the right direction, thanks.
    Mick

    Mick3496 wrote:
    bregent - they were very clear about the form fields:
    username   (alpha/numeric)
    company   (numeric only)
    password  (alpha/numeric)
    Note that the fields are all lower case.
    Are you saying the form code I posted should work?
    Mick
    It looks fine to me. For testing purposes you might want to change the password field to a text field so that you can be sure it is being populated correctly. And again, make sure that they are not checking referrers in their ASP script.

  • How to pass parameter to action methods

    Hi,
    I have a button.  Enter action method is associated with this.  In the Enter action method, I have added a parameter named param1.  When the button is clicked, this method is called automatically.  But how do I pass parameters to this method, which I have declared ?
    Regards,
    Suresh.

    Hi Suresh Babu,
    The associated method (Event Handler) is triggered by default and cannot pass the values. Instead, use the context node or attributes to set/get the values in the event handler method.
    Regards,
    Sravan Varagani

Maybe you are looking for

  • Mount external hard drive on boot

    I have a Mac mini run on SL, I want to set it up as a samba server with a external hard drive which formatted in NFS format. I tried to write a plist in LaunchDaemons to call a script to mount the hard drive, but it does not work. Here is my plist <?

  • Angry birds space? Nokia n8

    anyone know when angry birds space will arrive on nokia store for belle?

  • Select list and hidden display issue

    Hi all, I am using a dynamic value select list, which when a button is pressed sets the value of a hidden display item. The next page then uses the hidden display item as part of an SQL query. It strangely sometimes works and sometimes doesn't - it o

  • Define Derivation Strategy for Reassignment

    Dear All! I have created the  derivation  strategy for Reassignment with tthe option of derivation rule <b>Source Fields</b> SOURCE_FUND SOURCE_FUNDS_CENTER BCS_BUDGET_CATEGORY NUMBER <b>Target Fields</b> TARGET_FUND TARGET_FUNDS_CENTER PERCENTAGE th

  • Start process from emailed pdf form

    I've set up a process with an email endpoint that has two steps: 1. set value (which does nothing) 2. User task which sends a pdf form to a user. the idea is that when a pdf form is mailed to the specified mail account the process starts and sends th