How to access values in process request

Hi guys,
Wondering if some one could shed some light on the process of getting values in PR. The situation is that i have linked two pages and both have dateFrom and dateTo fields, the values of the fields are being copied across to the other page automatically. I would like to understand how.
And the other is How is, how to access those values in Process Request. I want to use those dates as criteria for populating data when the user first opens the page.
Any insight would be highly appreciated
Regards,
Shoaib.

The situation is that i have linked two pages and both have dateFrom and dateTo fields, the values of the fields are being copied across to the other page automatically. I would like to understand how.
If you have linked the pages, you would know how the values from one page is being transferred to the other page, this cannot happen automatically, you either must have 1. Passed them through URL
2. Passed them through Session
3. Have the same VO in both the pages and retaining the AM from P1 to P2.
4. Requering the DB in P2 after saving the values in P1
There could be number of ways you have done it.
And the other is How is, how to access those values in Process Request. I want to use those dates as criteria for populating data when the user first opens the page.
Depending on how you passed the values from P1 to P2, the method of getting these values in P2 PFR would vary, but in most cases pageContext.getParameter("paramname") should workThanks
Tapash

Similar Messages

  • Defaulting values in Process Request

    Hi,
    I have a Search/Results page that goes to a detail page.
    When the user first enters the form, I want to default date values (part of search criteria), so I included this logic in the Process Request section of the SearchCO.
    The problem is, if the user changes the date value on the Search Screen, goes to the Detail screen, then returns to the Search Page via a 'link', the default logic in the Process Request kicks off again and overrides the date values the user entered.
    How can I default these dates only the first time the user enters the form?
    Thank you.

    Thank you for your reply.
    I was using a flag (tried declaring as Public Static as well as Private Static) outside the Process Request as below and it works great when I run it from JDeveloper, however, when I moved it to our development server, it only worked the first time I migrated it like it never reset the flag after leaving the form. I even logged right off and re-entered and the default logic still did not kick in.
    public class OrderQueryCO extends OAControllerImpl
    private static String firstTime = 'Y';
    public void processRequest(OAPageContext pageContext, OAWebBean WebBean)
    super.processRequest(pageContext, webBean);
    if (firstTime = 'Y')
    { default date logic
    * 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);
    firstTime = 'N';
    etc...
    }

  • Webaccess Document Access "Unable to process request. ..."

    GW 8.02 HP3
    Webaccess Agent Version 8.0.3 (11/30/2012)
    NW 6.5 SP3 fully patched - mta/poa/gwia/webaccess all on single box
    We're trying to allow documents within a limited set of shared folders to be viewed over webaccess. We have also given the user full rights specifically to both the shared folders and the documents. In the full Win Client 8.03 build 105538 the user can open the documents fine.
    However, trying to open any of the docs in web access return the error below:
    "Unable to process request. Please contact your system administrator."
    If you go to the documents tab in webaccess and search, then open the document from the results it works fine, but still fails from the shared folder.
    I've found a couple of TIDs regarding the error message, the first (7004454) is fixed by adding missing Spell Checker lines in the webacc.cfg file, all of ours are present.
    The 2nd (7007416) https://www.novell.com/support/kb/doc.php?id=7007416 says that hyphens "-" are not supported in domain names, I'm assuming this means internet domain names like [email protected]
    Is this correct!? Our domain has a hyphen in it and the 'fix' suggested is completely and utterly out of the question, all documents (over 10,000 of them) would be renumbered rendering all our document number tracking useless.
    Is this bug present in gw2012/2014? We were planning to migrate to OES Linux and upgrade to 2012 this summer but haven't scheduled this work as yet.
    Mark.

    In article <[email protected]>,
    MarkDissington wrote:
    > The 2nd (7007416) https://www.novell.com/support/kb/doc.php?id=7007416
    > says that hyphens "-" are not supported in domain names, I'm assuming
    > this means internet domain names like [email protected]
    >
    No, it is clearly for the GroupWise domains, so hopefully you didn't
    use hyphens in those too.
    Andy of
    KonecnyConsulting.ca in Toronto
    Knowledge Partner
    http://forums.novell.com/member.php/75037-konecnya
    If you find a post helpful and are logged in the Web interface, please
    show your appreciation by clicking on the star below. Thanks!

  • How to prepopulate value in process form

    Hi,
    I want to pre populate values in forms while updating the data.Test case provided below.
    1. create a user with five roles(all are lookup values) .
    2.While updting I want to see existing lookup values in process form.
    3.I can update it and save it.

    My requiremrnt is after creating user I have few field selected. While user is requesing for midifying resource , user want to see the selected values on the form.For the same I may need to customize existing jsp's.I want to know what is the process for achieving the same.

  • How to get value of process variable in another flex form

    Hi,
    currently we are using Flex 3 for form development in LiveCycle ES workspace.
    We have got an "Assign Task" service operation. This service operation has got a process variable defined for "input" and "output".
    The service will be called in a flex form. When the process is called a task will be sent to a user.
    When the user opens this task another flex form will be opened. All these steps work fine!
    How it's possible to get the value of the defined process variable from the first flex form (which starts the process)
    to the flex form which will be displayed when the user opens the task?
    Thanks very much for your help!
    Holger

    Solutions:
    -The 'proper' way for application specific stuff is to use a properties file, not env vars.
    -Use System.getenv(), only works for versions before 1.3
    -Use the java command line option '-D'
    -Use Runtime.exec(), similar to the way you suggested.
    -Use JNI.

  • PLZ Help: how to get value of a request scoped Bean/Attribute in JSF ?!!!

    hi,
    I noticed this part of code to retrieve session scoped beans/vars in an ActionListener or other jsf classes, but it does not work for request scoped beans/vars :( what's the problem then ? what shall i do ?
    Type var = (Type)Util.getValueBinding("myBeanInRequest")).getValue(context);
    I have also set that getPhaseId() returns UPDATE_MODEL_VALUES or APPLY_REQUEST_VALUES.
    Any comment or idea ?

    I have declared my Bean in my JSP page not in the
    faces-config.xml. Does this make any problem ? Also I
    have tried the way you told me as well, but still the
    returned attribute is null.
    P.S. My bean is declared in my JSP page this way:
    <jsp:useBean id="newSurveyVar" class="SurveyModel"
    scope="request" />
    This declaration causes the SurveyModel instance to be created in request scope when the page is rendered, but that doesn't help you when the form is submitted -- that is going to happen on the next request (so the request attribute created here goes away). Basically, <jsp:useBean> is not typically going to be useful for request scope attributes (it's ok for session or application scope, though).
    and further I have this jsf code:
    <h:command_button label="Create" commandName="create"
    action="create" >
    <f:action_listener
    r type="CreateNewSurveyActionListener"/>
    </h:command_button>
    and this is my
    CreateNewSurveyActionListener.processAction(ActionEvent
    e) {
    if (actionCommand.equals("create_the_survey")) {
    FacesContext context =
    t = FacesContext.getCurrentInstance();
    SurveyModel survey =
    y =
    (SurveyModel)(Util.getValueBinding("newSurveyVar")).get
    alue(context);
    if (survey==null) // returns true :(((
    And since I've declared my beans here there is nothing
    special declared in my faces-config.xml
    For me again it is really strange why it is not
    working !!!
    Any idea ? Because the event listener is fired in a separate request, so the one you created in the page is gone.
    This is why the managed bean creation facility was created. If your component contains a valueRef that points at the bean name (or you evaluate a ValueBinding as illustrated earlier in the responses to your question), then the bean will get instantiated during the processing of the form submit.
    Craig McClanahan

  • How to alter value for processes in Oracle 10g XE

    Im installing weblogic server 11g. Im getting the error
    RCU-6083:Failed - Check prerequisites requirement for selected component:SOAINFRA
    Please refer to RCU log at C:\stageSOA\rcuHome\rcu\log\logdir.2010-06-18_17-04\rcu.log for details.
    RCU-6107:DB Init Param Prerequisite failure for: processes
    Current Value is 40. It should be greater than or equal to 200.
    RCU-6092:Component Selection validation failed. Please refer to log at C:\stageSOA\rcuHome\rcu\log\logdir.2010-06-18_17-04\rcu.log for details.
    I have read in a forum this this command will work
    alter system set Processes=300 scope=spfile;
    where should I write this command. I have tried the SQL command line. But it says its invalid

    One thing I detected here as a bad practice, you blindly issued the command "ALTER SYSTEM ... SCOPE=SPFILE" and later on you asked why you were not able to see the change.
    It lets me know that you applied a change without even bothering to find out what it was about. Please make sure next time you blindly apply a command this doesn't start with "DROP ...." or you may face a hard time.
    ~ Madrid
    http://hrivera99.blogspot.com

  • How to access value mapping table in xi ?

    Hi All,
    i want to load all value mapping table data from XI to a excel sheet. how can i do it ?could anyone provide java code needed for it ?

    Hello
    Maybe you could extract it via the Integration Directory Webservice Programming Interface...
    Check this link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/6dca42e5c269dfe10000000a11466f/frameset.htm
    There is a section for Valuemappings there. Apparently it would be a matter of calling the corresponding webservice with the GUID of the valuemapping and it returns the data.
    Good luck and please tell us if it works!
    -Sam.

  • How to access another java process?

    I run two java process, A and B, any possiblity to access process A from process B?
    Process A and B are started with class's main method.
    Thanks.

    masijade. wrote:
    georgemc wrote:
    laguna8 wrote:
    Socket will not be appropriate for my case.
    My case is: I write a document editor (just like UltraEdit), after starting the editor, there is one process running, then I right click a file and choose to open that file with my editor, it starts another editor process. What I want now is just to open that file with the editor that has already run.Don't see why sockets aren't appropriate there. Why did you dismiss them?Because he wants a single pre-finished method call answer, maybe? ;-)Teh Codez!! Indeed. It's pretty obvious that there's an entire subsection of forum users who automatically dismiss any reply which doesn't include code. If we produce an exhaustive list of all the methods by which IPC can be achieved, however archaic, he'll dismiss the lot, and then spend the rest of his life pondering this simple problem

  • SAPUI5 , how to access data with autocomplete request

    Dear All,
    I have created a OPENUI5 page with sap.autocomplete,
    Also a 'page with flow logic' with onRequest defined.
    How could the two be linked together, such that the autocomplete will make request to the 'page with flow logic'.
    Thanks

    Solved.
    Done through JsonModel loaddata

  • How To Access Variables In Process Model For Use In Main Sequence

    Hi everyone, in my sequence file I callback the PreUUT sequence file.  I want to be able to use one of the local variables I assign in this callback sequence in my main sequence.  In my main sequence this variable will trigger if I should run some tests or not in my main sequence.  Is this possible?  How would I do this?
    Thanks so much!

    U need to make a parameter in your Callback, parameters are seen outside of sequences, then in PreUUT u will make statement to update parameter, or use the parameter in your callback  directly
    Parameters.MyPara=Locals.MyLoc
    etc

  • How does a web service process requests?

    WebLogic Server Version: 10.3.3.0, JDeveloper Studio Edition Version 11.1.1.5.0
    We noticed that when the same web service has multiple requests the 2nd request waits until the first request completes.
    Is this standard behavior?
    chuck

    hello jbrener, websites can also approximate your location by the ip address your ISP is assigning to you - there's no way around that (without using a vpn service or a proxy which disguises your ip address).
    http://www.yougetsignal.com/tools/network-location/

  • Pass value Process request  to Process Form Request

    Hi,
    Can any one tell me how we can pass particular value from process request to process form request?
    Thanks

    Hi,
    u can use params to pass values.. please see code below for reference.
    if(pageContext.getParameter("saveBtn") != null)
    String userId = String.valueOf(pageContext.getUserId());
    Serializable param[] = {
    invAmt, userId
    oam.invokeMethod("saveHandle", param);
    OADBTransaction trx = oam.getOADBTransaction();
    trx.setClearCacheOnCommit(true);
    trx.commit();
    OAException successMsg = new OAException("Records saved successfully", (byte)3);
    pageContext.putDialogMessage(successMsg);
    pageContext.forwardImmediately("OA.jsp?page=/custom/oracle/apps/fnd/wf/worklist/webui/ssrInvoicePG", null, (byte)0, null, null, true, "N");
    trx.closeTransaction();
    }

  • Access values stored in 2D Array in HashMap

    Hi everyone i would like to know how to access values stored in a 2D array inside a HashMap
    Here is a drawing representation of the map.
    So to get the KEYS I just have to execute this code:
    this.allPeople = personInterests.keySet();But how can I get acces to the actual values inside the 2D Array?
    My goal is to create a treeSet and store all the elements of the first array in it, then look at the second array if any new elements are detected add them to the treeset, then third array and so on.
    I tried this code:
    Object[] bands = personInterests.values().toArray();
         for( int i=0; i<bands.length; i++)
              this.allBands.add(bands.toString());
    }But this.allBands.add(bands[i].toString())seems to be the problem, Dealing with a 2D array, this code only return a string representation of the Arrays and not a string representation of their elements.
    Using my logic I tried to execute:
       this.allBands.add(bands[0][i].toString());But i get a ARRAY REQUIRED BUT JAVA.LANG.OBJECT FOUND
    I really don't know the way to go.
    Thanks to anyone that will help.
    Regards, Damien.
    Edited by: Fir3blast on Mar 3, 2010 5:27 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You'll just need to cast the object to the correct type. This is nothing to do with HashMap at all. If you don't know what that means then your google keywords are "java cast tutorial".

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

Maybe you are looking for

  • SSO requires double login for partner application

    I'm having some trouble with SSO partner applications, when I login to a SSO protected application, the login works fine, but when I try to navigate to another application I'm presented with the login page again, the sso cookie seems to be working si

  • Can no longer do a hot reboot on New iPad. Very concerned.

    Although it has worked previously, I just discovered that I am no longer capable of rebooting my New iPad by using the volume control-sleep button combination. I've tried to do this several times and I've held both down for up to 20 seconds but nothi

  • Why is the speakerphone so low in iPhone 3GS?

    Why is the speakerphone so low in iPhone 3GS? I have a maximum volume still it is not clear, Is there a way to increase it by any other method?

  • Addins and Wizards download with problems ??

    So that we may better diagnose DOWNLOAD problems, please provide the following information. - Server name - Filename: http://otn.oracle.com/products/jdev/htdocs/partners/addins/SampleOne.zip - Date/Time: July 30 - Browser + Version: Netscape 6.2 - O/

  • Spotlight keeps on crashing

    Spotlight keeps on crashing when I type something like network utility or console. The spinner on the left of the window seems to freeze and then the window disappears. I tried deleting the com.apple.spotlight.plist file but no use. This is what it s