Return of the request to call him?

I managed to invoke work goes to the settings screen.  My application becomes small / inactive when the application settings opens.

When you press the button to return to the settings screen, the settings app closes and my application is still reduced / inactive.

Is there a way to return my application to the before State / active when the application called (parameters) is over?

Nope...

Tags: BlackBerry Developers

Similar Questions

  • Need help, returning at the request of private

    Hello

    My application uses a private to open a web page. When the web page opens, the user types in their login credentials, and then they are transferred to a new site that told them to close the BlackBerry browser and return to my request.

    Now, I'm trying to see if I can do the following:

    -Create a URI template customized for my application, so that the Web site can send to an address as "myapp: / /...". "and will open my application. I did research online and on the forums on this subject, and I don't think its possible. I searched a lot on JSR 211 content managers and MIME types. I have also studied the chapidemo demo in JDE samples.

    -Close the private. I know that I can't do this from within my application. I moved my application in the foreground successfully after my application filed an HTTP successfully, but the browser returns to the foreground when the Web site transmits to the new page (which tells the user to close the browser)

    -Somehow determine the URL of the current private. If I could do it, I could have my application in the foreground when I recognize the URL of the page that was passed to the.

    Unfortunately, I can't use a BrowserField because the site that I opened in the browser must support javascript and ajax... I tried this in the BrowserField, and it did not work.

    Does anyone have any advice or suggestions?

    Thank you!

    I was able to achieve bringing my application to the foreground once the browser forward towards a new page using JSR 211 and a type mime custom. (BrowserPlugin.java & LoaderApp.java JDE samples)

  • Get the same return of the browser at the request

    Hi, I'm using

    BrowserSession.showBrowser)

    to access a browser of my application (I wanted to integrate the browser in my app, but since I am compiling for pre 5.0 devices, I can't use the new browser.field2, but only the browser.field not so very awesome API).

    It is - I want to make something once the user returns to the application from the browser. Is it possible to somehow get this event? (Once the user presses the back key, it returns to my request from the browser).

    I want to differentiate this event of any other event of first plan-background.

    Thank you

    Dan

    Here's a way to do it:

    1. In your subclass UiApplication, declare an executable field (let's call it "pending").
    2. Just before calling BrowserSession.showBrowser (), the value until an executable you want to run on back.
    3. Back in your subclass UiApplication, override the activate():

      public void activate() {    if (pending != null) {        invokeLater(pending);        pending = null;    }}
      

      With the help of invokeLater is not really necessary because activate() is called on the event thread. However, I would suggest using it when even just to be sure that the executable is run after all the other events that may be pending.

  • Problem using the structure returned by the ajax request

    I'll send an ajax request that calls a method in a CFC.  The method executes a query and returns data.  I want to use the option of 'success' of the ajax call to display the return value "myString" in an empty div.  But nothing appears.  Everything else works.  Shouldn't the ajax call back for me "myString" and values "myNumber" which I can then use?  Or do I have the wrong syntax?

    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
        <script>
      function getMyData()  
      { 
      $.ajax({
      type: "post",
      url: "test.cfc",
      dataType: "json",
      data: {
      method: "getMyData",
      city: 'Hartford'
      }
      , success: function(data) {$('#result').html(myString);}
      , error: function(data) {$('#result').html('That failed');}
      });
      $('#anotherDiv').html('Goodbye');
      }
      </script>
    </head>
    <body>
    
    <a href="javascript:()" onclick="getMyData();">
       <div>Click here</div>
    </a> 
    
    <div id="result"></div>
    <div id="anotherDiv"></div>
    

    <cfcomponent>
      <cffunction name="getMyData" access="remote" returntype="struct" returnformat="json">
        <cfset var stcRetVal = StructNew()>
            <cfset stcRetVal.myString = "Hello">
            <cfset stcRetVal.myNumber = 75>
        
            <cfquery datasource="#application.mainDS#">
      insert into test 
                (city) 
                values 
                (<cfqueryparam value="#arguments.city#" cfsqltype="cf_sql_varchar">)
      </cfquery>
    
    
      <cfreturn stcRetVal>
      </cffunction>
    </cfcomponent>
    

    If your function should return you structure JSON like:

    {

    'myString': 'Hello,'

    "myNumber": 75

    }

    When you succeed, you do:

    success: {function (data)}

    $('#result').html (myString);

    }

    whence "myString"?  All that gets you back is in this object 'data '.  So, you might be able to do it instead.  Try to console.log (data) inside your success Manager.

    success: {function (data)}

    $('#result').html (.myString data);

    }

  • Why is my proxy service returns the request as a reply message?

    Hi all

    I have a business service that inserts a record into DB and returns no response. So, I created a service proxy with custom WSDL file and forward the request to the company. And in my custom WSDL file I have different inputs and outputs, but when I call the proxy service I always get the message request an answer!
    What I am doing wrong?

    Here are the files:

    -----
    WSDL file
    <wsdl:definitions
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/SMSService/InsertSMSRecord/ProxyService"
    name="SMSProxyService-concrete"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:sms="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/SMSService/InsertSMSRecord/ProxyService">
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                   <xsd:import
                        namespace="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
                        schemaLocation="../DBAdapter/InsertSMSRecord/xsd/InsertSMSRecord.xsd">
                   </xsd:import></xsd:schema></wsdl:types>
         <wsdl:message name="InsertSMSRecordInput_msg">
              <wsdl:part name="SMSRequestBody" element="sms:SMSRequest"/>
         </wsdl:message>
         <wsdl:message name="InsertSMSRecordOutput_msg">
              <wsdl:part name="SMSResponseBody" element="sms:SMSResponse"/>
         </wsdl:message>
         <wsdl:portType name="InsertSMSRecord_ptt">
              <wsdl:operation name="sendSMS">
                   <wsdl:input message="tns:InsertSMSRecordInput_msg"/>
                   <wsdl:output message="tns:InsertSMSRecordOutput_msg"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="sendSMS-binding" type="tns:InsertSMSRecord_ptt">
              <soap:binding style ="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="sendSMS">
                   <soap:operation soapAction="sendSMS"/>
                   <wsdl:input>
                        <soap:body use="literal" parts="SMSRequestBody"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" parts="SMSResponseBody"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="InsertSMSRecord-service">
              <wsdl:port name="InsertSMSRecord-port" binding="tns:sendSMS-binding">
                   <soap:address location="http://localhost:7001/SMSService/Proxy_Services/sendSMS"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>
    -----
    File InsertSMSRecord.XSD
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
    xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
    elementFormDefault="qualified" attributeFormDefault="qualified"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
       <xs:element name="SMSRequest" type="SMSRequestType"/>
       <xs:complexType name="SMSRequestType">
          <xs:sequence>
             <xs:element name="SYSTEM_ID" type="xs:string" nillable="false"/>
             <xs:element name="USER_ID" type="xs:string" nillable="true"/>
             <xs:element name="PRIORITY" type="xs:int" nillable="true"/>
             <xs:element name="MESSAGE" type="xs:string" nillable="false"/>
             <xs:element name="MOBILE" type="xs:string" nillable="false"/>
             <xs:element name="LANGUAGE" type="xs:string" nillable="false"/>
             <xs:element name="SHORT_CODE" type="xs:string" nillable="true"/>
          </xs:sequence>
       </xs:complexType>
       <xs:element name="SMSResponse" type="SMSResponseType"/>
       <xs:complexType name="SMSResponseType">
          <xs:sequence>
               <xs:element name="Status" type="xs:string" nillable="true"/>
               <xs:element name="errorType" type="xs:string" nillable="true" minOccurs="0"/>
               <xs:element name="errorDescription" type="xs:string" nillable="true" minOccurs="0"/>
          </xs:sequence>
       </xs:complexType>
    </xs:schema> 
    -----

    And here is a sample of the input and the output I get:*.
    -----
    Entry
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord">
       <soapenv:Header/>
       <soapenv:Body>
          <ins:SMSRequest>
             <ins:SYSTEM_ID>sfda</ins:SYSTEM_ID>
             <ins:USER_ID>test</ins:USER_ID>
             <ins:PRIORITY>5</ins:PRIORITY>
             <ins:MESSAGE>test</ins:MESSAGE>
             <ins:MOBILE>966503105515</ins:MOBILE>
             <ins:LANGUAGE>ENGLISH</ins:LANGUAGE>
             <ins:SHORT_CODE>SFDA</ins:SHORT_CODE>
          </ins:SMSRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    -----
    Output
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord">
       <soapenv:Header/>
       <soapenv:Body>
          <ins:SMSRequest>
             <ins:SYSTEM_ID>sfda</ins:SYSTEM_ID>
             <ins:USER_ID>test</ins:USER_ID>
             <ins:PRIORITY>5</ins:PRIORITY>
             <ins:MESSAGE>test</ins:MESSAGE>
             <ins:MOBILE>966503105515</ins:MOBILE>
             <ins:LANGUAGE>ENGLISH</ins:LANGUAGE>
             <ins:SHORT_CODE>SFDA</ins:SHORT_CODE>
          </ins:SMSRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    -----

    Any help is appreciated...
    Thank you...

    In fact, this is how it works. You will need to replace the contents of $body with the XML response necessary. OSB returns the contents of $body as at the end of the treatment.

    . / * means everything inside the current node. So, if you specify 'body' in the variable field, then. / * means everything inside the variable 'body '.

    Kind regards
    Anuj

  • My computer has been hit was a virus hiding all programs, called him Smart HDD. The technician fixed the things except that now we cannot books library audio d/load. Error OxCood2751

    My computer has been hit was a virus hiding all programs, called him Smart HDD.  The technician fixed the things except that now we cannot books library audio d/load. OverDrive Media Console gives error OxCood2751 and said to Contact Support technical of Microsoft. Can anyone help, thnx

    Hi Sharohbbrd,

    ·         You have made no changes to the Windows Media Player before the show?

    You may be able to solve the problem by installing the Windows Media Format 9.5 Runtime. Download the same from the following.

    Download details - Microsoft Download Center - Update for supported Media DRM (KB891122) players

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=3141

    You can also see the following articles for more information:

    File Readme for Windows Media Player 11 for Windows XP - Microsoft Windows

    http://Windows.Microsoft.com/en-us/Windows-XP/products/Windows-Media-Player/11/Readme

     

    An update for Windows Media Digital Rights Management-enabled players is available

    http://Windows.Microsoft.com/en-us/Windows-XP/products/Windows-Media-Player/11/Readme

    Let us know if that helps.

  • Cannot run the file: code 740, the requested operation requires a rise. While trying to launch Call of duty

    Cannot run the file: D:\Call-Of-Duty-Black-op2-II/redist/vcredist_*86.exe CreateProcess failed; code 740. The requested operation requires a rise. It is a game is call of duty black ops 2
    Please help me if you can, I want to play this game, please help me, are any developer here?
    Original title: cannot run the file: D:\Call-Of-Duty-Black-op2-II CreateProcess failed; code 740. The requested operation requires a rise. It is a game is Tanya call black ops 2

    Hello

    Welcome to the Microsoft community. I've surely you will help find a solution on the issue of game Call of duty .

    1 have you connected as administrator to start the game?

    2. were you able to install the game successfully?

    3. What is the brand and model of the computer?

    4. have you already compare the minimum requirements for the game runs correctly on the computer?

    Method 1:

    What are the minimum requirements for the call of duty to work. Compare specifications with your computer.

    Operating system:          Windows Vista (Service Pack 2) or Windows 7

    CPU:      Intel Core 2 Duo E8200 2.66 GHz or AMD Phenom X 3 8750 2.4 GHz

    Memory: 2 GB for 32-bit operating system or 4 GB for the 64-bit operating system

    Hard disk space: 16 GB

    Graphics hardware:        NVIDIA GeForce 8800GT 512 MB or ATI Radeon HD 3870 512 MB

    Method 2:

    I suggest to refer to this article and run the game in check with the question administrator mode.

    How to apply once with a full administrator access token?

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-run-an-application-once-with-a-full-administrator-access-token

    Hope this information helps. Please reply back with the State so that we can help you.

  • APEX5: exceptions from AJAX calls not returned to the client

    I have a small question about the apex.server.process feature.

    I have a request where I do some AJAX requests to the server to do something. My JS (sample) code looks like this:

    apex.server.process("DO_SOMETHING", {
    }, {
        dataType: "text",
        success : function (pData) {
            alert(pData);
      }
    });
    

    The foo application process is defined as follows:

    BEGIN
    raise_application_error(-20001, 'exc');
    END;
    

    Now, I noticed that when I am connected to the request of the manufacturer, I get my alert with the message "sqlerrm: ORA-20001: exc ' (which I expected).

    If I connect to the generator and run my application, I get an empty alert message (ie: the pData in my success Manager parameter is empty, or better: the response of the network call is empty = > "this request has no data available response" chrome network logging).

    Is this as expected? If Yes, what is the reasoning (security as in "never disclose unhandled exceptions") and is there a setting/workaround, we use (short for catching exceptions and the sending of the response via htp.p data)

    I understand the fact that you should always do the appropriate error handling, but it's an internal application where I don't mind really if an unhandled exception is propagated to the client.

    I have a request on apex.oracle.com where it is reproduced, but given the behaviour depends on being connected to the APEX Builder I'm not confident to disclose identification for generating environmental information.

    Change the raise_application_error for:

    HTP.p ("exc");

    It is indeed strange that the behavior is different when running through the constructor, or directly. I have reproduced the same on apex.oracle.com

    Come to think of it: when running through the constructor, you can debug and use the developer toolbar. Maybe Apex handles exceptions differently to capture the output of the exception.

  • How return values when the page of the ofa procedure call

    Hello

    I need to return multiple values in the OPS page calling procedure.i using below code.bt I'm able to return a single value. Please suggest me how to return multiple values.

    Co:

    -----

    If (pageContext.getParameter ("Calc")! = null) {}

    Vo1 OAViewObject = (OAViewObject) am.findViewObject ("AddonBillingVO");

    System.out.println ("VO");

    {if(VO1!=null)}

    CNT int = vo1.getRowCount ();

    System.out.println ("count:" + cnt);

    If (cnt > 0)

    {

    RowSetIterator rs = vo1.createRowSetIterator("empIterator");

    System.out.println ("EMP");

    If (rs! = null)

    {

    While (rs.hasNext ())

    {

    AddonBillingVORowImpl line = rs.next ((AddonBillingVORowImpl));

    System.out.println ("impl");

    If (line! = null)

    {

    String laseid = row.getAttribute("LeaseId").toString ();

    System.out.println (laseid);

    String billingid = row.getAttribute("AddonBillingId").toString ();

    System.out.println (billingid);

    [Serializable] param = {}

    laseid, billingid

    };

    String newupc = (String) am.invokeMethod ("callPLSQLProc", param);

    System.out.println (newupc);

    String myValue = newupc;

    OAMessageTextInputBean textBean = (OAMessageTextInputBean) webBean.findChildRecursive ("prorate");

    textBean.setValue (pageContext, myValue);

    }

    }

    AM:

    --------

    public String callPLSQLProc (String laseid, String billingid)

    {

    OracleCallableStatement callableStatement = null;

    Try

    {

    String callProc = "BEGIN LEASE_PRORATE_PKG. LEASE_PRORATE_PROC1 ' + '.

    "(p_lease_id = >: 1,» +)"

    ' p_billing_id = >: 2 +,

    "(p_prorate = >: 3) +;

    'END;';

    callableStatement (OracleCallableStatement) = getOADBTransaction ().createCallableStatement(callProc,1);

    callableStatement.setInt (1, Integer.parseInt (laseid));

    System.out.println (laseid);

    callableStatement.setInt (2, Integer.parseInt (billingid));

    System.out.println (billingid);

    callableStatement.registerOutParameter(3,OracleTypes.VARCHAR,255);

    callableStatement.execute ();

    String resultMessage = (String) callableStatement.getString (3);

    System.out.println (resultMessage);

    Return resultMessage;

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    System.out.println ("execepn");

    throw new OAException (try (), OAException.ERROR);

    }

    printscreen.PNG

    Khalil.

    Hello

    You are the PL/SQL procedure in a loop on the right? Just assign the value to the attribute appropirate.

    if (pageContext.getParameter("Calc")!=null)  {
      OAViewObject vo1 = (OAViewObject)am.findViewObject("AddonBillingVO");
      System.out.println("vo");
      if(vo1!=null) {
      int cnt = vo1.getRowCount();
      System.out.println("count :" + cnt);
      if (cnt > 0){
      RowSetIterator rs = vo1.createRowSetIterator("empIterator");
      System.out.println("emp");
      if (rs != null){
      while (rs.hasNext()){
      AddonBillingVORowImpl row = (AddonBillingVORowImpl) rs.next();
      System.out.println("impl");
      if (row != null){
      String laseid = row.getAttribute("LeaseId").toString();
      System.out.println(laseid);
      String billingid=      row.getAttribute("AddonBillingId").toString();
      System.out.println(billingid);
      Serializable[] param = { laseid,billingid };
      String newupc = (String) am.invokeMethod("callPLSQLProc",param);
      System.out.println(newupc);
      //String myValue = newupc ;
      //OAMessageTextInputBean textBean = (OAMessageTextInputBean)webBean.findChildRecursive("prorate");
      //textBean.setValue(pageContext, myValue);
      row.setAttribute("Prorate",newupc);
      }
      }
      }
      }
      }
    }
    

    Check the last lines. If the attribute name is nothing else than "Pro rata", updated accordingly.

    See you soon

    AJ

  • Error creating a salary. ORA-01422: exact fetch returns more than the requested number of rows in the hr_maintain_proposal_swi procedure insert_salary_proposal package

    Hi all

    We try to add new proposal for a salary of some employees from form August 1, 2015 (the Date of the beginning of employee)

    There is no existing salary proposal doesn't exist for these employees.

    We get below error.


    ORA-01422: exact fetch returns more than the requested number of rows in the hr_maintain_proposal_swi procedure insert_salary_proposal package


    Help, please.

    Thank you

    Tarun

    Hi John,.

    If it helps, take a look at the following note:

    ORA-01422 exact Fetch returns more than number of lines requested in Hr_maintain_proposal_swi (Doc ID 1673527.1)

    Kind regards

    Rajen

  • R12.2.4 data lost after using the dialog Page and return to the calling page. (Help please!)

    Hi team,

    I'm new to OAF and works on a requirement to add some custom validation when the user clicks a button in a seeded standard page.

    The approach I took was to extend the seeded controller object managed this press event button and put my custom logic in the extended controller and substitute the standard controller through customization.

    The standard rate which was pressing the Complete button A Page, the user was taken to the next and epepinee page (Page B) some operations based on records that have been chosen Page A.

    Part of the custom validation requirement that was if some postings were not met, the user must be a pop-up asking if they really wanted to move forward and if they have selected Yes then continue with the seeded standard flow (transition to page B) and if they have NOT selected then just remain on the current page.

    I have used OADialogPage and to do this, in part, the question , I am running into is that when the user selects one or more records using a check box in a region of several record (table) and click the full page and if the validation fails then a modal page and the user made a selection i.e.either Yes or no modal page and when they return to the calling page (ex. Page A), all data (records) they chose previously is lost (the Page is refreshed). Based on what I see on this forum, I suspect it's because after having click Yes on the modal page and then return to the original page the processRequest fires again and the VO data is queried again and has all the parts on the page are lost. Since I am changing the flow in seedlings pages based on the intervention of the user I'm confused as to how this problem can be solved. that is, prevent the page refreshes or preserve the selections that were made before you navigate to modal page. Any help is really appreciated!

    My Code:

    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    ...

    ...

    If (oapagecontext.getParameter ("completeOps")! = null) {}

    ...

    ...

    If (warnCount > 0) {}

    OAException message = new OAException ("not in order...", OAException.WARNING);

    oapagecontext.putDialogMessage (message);

    OAException message = new OAException ("XYZ Violated rule. Do you want to continue? ", OAException.WARNING);

    DialogPage OADialogPage = new OADialogPage (OAException.WARNING, message, null, "","");

    String Yes = oapagecontext.getMessage ("AK", "FWK_TBX_T_YES", null);

    String number = oapagecontext.getMessage ("AK", "FWK_TBX_T_NO", null);

    dialogPage.setOkButtonItemName ("ConYesButton");

    dialogPage.setNoButtonItemName ("ConNoButton");

    dialogPage.setOkButtonToPost (true);

    dialogPage.setNoButtonToPost (true);

    dialogPage.setPostToCallingPage (true);

    dialogPage.setOkButtonLabel (yes);

    dialogPage.setNoButtonLabel (no);

    oapagecontext.redirectToDialogPage (dialogPage);

    }

    If (oapagecontext.getParameter ("ConYesButton")! = null) {}

    Write Yes button Action code

    oapagecontext.putParameter ("completeOps", "Continue");

    }

    If (oapagecontext.getParameter ("ConNoButton")! = null) {}

    Write the code of the Action for the No button

    Dim errormsg = ' rule Violations have occurred. "

    throw new OAException (errormsg);

    }

    super.processFormRequest (oapagecontext, oawebbean);

    }

    I managed to work around this problem by adding a simple control in my controller processRequest method extended to avoid the call to super.processRequest incase lhen control returns to the page once the user has made a selection on the Page of the dialog box

    If ((oapagecontext. (GetParameter ("ConYesButton") == null) & (oapagecontext.getParameter ("ConNoButton") == null)) {}

    super.processRequest (oapagecontext, oawebbean);


    }


    Thank you!

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Hello Marilyn,.

    Please sign in to your Adobe account and then go to the link below:

    Contact the customer service

    Reference: cancel your creative cloud membership

    Kind regards

    Sheena

  • Make a REST Web service call. Error code: 401 Access to the requested resource is not allowed

    Hi all

    I'm having a hard time finding ways to Rest Web service calls.

    I tried this runs directly through the browser and I get an error.

    http:localhost:8080/r EST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected] & arg2 = password

    13:18:20, 613 [RestSecurityServlet] error code: 401

    Access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    1. atg.rest.RestException: access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:546)

    at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:313)

    at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:199)

    at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:417)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:260)

    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:264)

    at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:130)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)

    Documentation, I understand that I need to create a session, the session is needed to access the secure components since this

    method specific 'ProfileServices.loginUser' was declared as non-secure, restSecurityConfiguration.xml

    In addition, there are two different ways in which I can connect

    1. 1. with the help of RestSession.createSession providing the user name and password.
    2. 2. or by using ProfileServices.loginUser or ProfileFormHandler

    Can someone please clarify

    If you call the REST web service from a Java client, you can create a RestSession object using the createSession method. But in your case you seem to be invoking it with an HTTP request, which, by default, would be considered a GET request by application of the REST of the ATG. So either a GET, he would try to get a property "loginUser" of the component/atg/userprofiling/ProfileServices (based on your URL) that would always fail.

    To call the method ProfileServices loginUser() with your argument, you need to tell the system to the REST of the ATG to process your incoming request not GET, but as a demand that you can do to atg-rest-http-method of the parameter control in your application like this

    http:localhost:8080/rEST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected]& arg2 = password & atg-rest-http-method = POST

    It should work in this way, your restSecurityConfiguration.xml is correct.

  • Return to the calling Page

    Hello

    I use APEX 4.1.1 and here is my dilemma: I have 2 pages A and B both reach page C. On the C page, when the user clicks on the button "Apply Changes" I need to go back to A or B depending on what page is call to C. For the pages A and B, I put the 'Request' value in the 'Column link' section to identify which page makes the call. Then on the C page, I created 2 branches (a and b) with the status "request = Expression 1" where 1 is the value that I assigned in A and b. When loading the page C, I can see the value I have assigned in the URL, but when I click on 'Apply changes' page submit and remains on the C page.

    Any help with this is greatly appreciated.

    Thank you

    Will be

    user9130472 wrote:
    Hello

    I use APEX 4.1.1 and here is my dilemma: I have 2 pages A and B both reach page C. On the C page, when the user clicks on the button "Apply Changes" I need to go back to A or B depending on what page is call to C. For the pages A and B, I put the 'Request' value in the 'Column link' section to identify which page makes the call. Then on the C page, I created 2 branches (a and b) with the status "request = Expression 1" where 1 is the value that I assigned in A and b. When loading the page C, I can see the value I have assigned in the URL, but when I click on 'Apply changes' page submit and remains on the C page.

    Any help with this is greatly appreciated.

    Thank you

    Will be

    Create an element on the page c lets say PX_FROM_PAGE.

    Create an unconditional branch/modify an existing page c and page target value * & PX_FROM_PAGE.*

    Now, when you call page c to page a / b include the PX_FROM_PAGE parameter with the corresponding page number. Example when calling c page of page one will include the PX_FROM_PAGE to the appeal with page not a

    Thank you
    Vikram

Maybe you are looking for

  • External backups Time Machine

    Hello! The MacMini to my dad, he has a backup storage more as external 4 TB Seagate and Time Machine recognizes it in the 'Options' from the settings page so that it can be part of the Time Machine backup. I don't have external storage but I do not u

  • What's new in updated BIOS v2.20 for Qosmio G40

    Hello Nobody updates its G40 to v2.20 BIOS? You know what's new in this version? Thank you.

  • Photo folders

    How do I copy/import my image files existing (I have now on the desktop) in PHOTOS? I don't want to lose the folders the images are currently. I know how to create folders in the PHOTOS, but I have a lot of images to transfer from my old hard drive.

  • Update graphics card intel HD for G62?

    I have a G62 450sa with i3 370 m 2.4 GHz so I know it is one of the models later, I just want to know if I can open it and pop into one of the ATI cards that are listed in the replacement parts PDF. He said only 1.1 but I noticed that there's various

  • How can I put files in the files last they came?

    Windows accidentally to D: folder Transfer collapsed, but some files still have transferd Don't know was supposed to deliver them Sorry does not work