Forcing an 'applicationWillTerminate' delegate call from xCode ?

I am developing in xCode 3.2.3 with an iOS4 target.
I can break on the 'applicationDidEnterBackground' delegate just fine when the home button is pressed (for example).
Does anyone know how to force a 'applicationWillTerminate' delegate call because the iPhone OS really wants to terminate the app?
It seems the big RED xCode 'Tasks' button just issues a 'sigKill' without making the delegate call.
-- tia rick s

Seems odd that xCode would not have a way to force
I agree, it should be in the Hardware menu of the simulator, like the 'Simulate memory warning'. I thought hitting Home twice rapidly and X'ing out the app from the list should work, but that also just does a sigKill

Similar Messages

  • UCCE: Forceful Release an Agent Call from ICM Script, Can I?

    Hi, let me explain the requirement first. Customer wants to make their IVR free of cost but they want to start billing only when the call is landed to skill group/agent. So far I can think to make it possible by triggering their billing server by ODBC gateway through Application Gateway process. But also the customer wants to release that particular call when that pre-paid caller is out of charge. They might trigger one of my application or can modify any particular database field and put the calling# into there and my task would be release that call.
    I have thought an idea to develop a TCL script run into the voice gateways and release the call from there by searching the particular call with calling#, but I do not know TCL scripting or any idea how to develope TCL , can't I release that call from ICM script? Do I have any control on calls from ICM when the call is landed and connected to agent?
    Any help would be hightly appreciated.

    That's a nasty piece of work. Just imagine how jacked off you would be if you are the customer, you have enough in your bank account to get to an agent who is then starting to help you, and in the middle of your conversation you are simply cut off!
    I don't think it's possible - although CVP would be your best shot because of the switch leg.
    But not only that, I don't think it is desirable. If you check the customer's balance before going to an agent, that should be sufficient. Anything else is just terrible customer service.
    Regards,
    Geoff

  • [iPhone] Call app delegate function from view controller

    I'm using the app delegate to manage the high scores for my iPhone game. I have a function in the app delegate called something like "getAString" which I'd like to call from a view controller. I tried:
    [[[UIApplication sharedApplication] delegate] getAString];
    It works but gives me a warning "getAString not found in protocol(s)" and "no -getAString method found". I assume this is because the application object thinks the delegate only implements the delegate protocol methods and doesn't know about any custom methods. Is there a different/better way to do this or a way to get rid of the warning?

    jmzorko wrote:
    I think you just need a simple cast:
    [((YourAppDelegate *)[[UIApplication sharedApplication] delegate]) getAString];
    ... that is, if I grok your problem correctly
    I have a similar problem, with this twist: the selector call is in shared-code and, hence, the [UIApplication sharedApplication] isn't of a known type. It is only known that it implements the shared callback and/or the myProtocol.
    Coming from a Java background, I'd do something like this:
    [((YourProtocol *)[[UIApplication sharedApplication] delegate]) getAString];
    But, of course, in Obj-C, protocols aren't object-types, and objects don't "inherit" from protocols. So, what's the similar thing that I want to do, here?
    Thanks!

  • How to call force render on custom effect from AEGP?

    Hi All,
              I want to call a force render on my custom effect from AEGP. I tried setting PF_OutFlag_Force_Rerender flag in PF_CMD_COMPLETELY_GENERAL (Called from AEGP via AEGP_EffectGeneric()). But it did not work. Is there any other way to force a rerender on the custom effect?
    Thanks,
    Dheeraj.

    Thanks a lot Shachar for the reply. But if I use AEGP_SetStreamValue AE
    will add the action to Undo/Redo stack. Please correct me if I'm wrong.
    I don't want AE to add it to undo/redo stack. So is there any way to
    tell AE not to add AEGP_SetStreamValue() action to undo/redo stack? Or is there a call to force render from AEGP?

  • Error while calling ejb service call from BPM service

    Hi,
    We are using the Oracle 11.1.1.5.0
    We are calling ejb service call from BPM service to update the data to Oracle database.
    We are getting the below error when we executing the ejb service call from BPM Service.
    <Error> <EJB> <BEA-010026> <Exception occurred du
    ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
    yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
    ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
    transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
    articipant in two-phase commit. To force this participation, set the GlobalTrans
    actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
    eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
    hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
    base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
    signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
    o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
    nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
    oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
    red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
    logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
    ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
    ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
    eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
    OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
    server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
    /activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
    oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
    mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
    WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
    nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
    eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
    ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
    OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
    rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
    gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
    Connection@EBSConnection_base_domain
    JDBC driver does not support XA, hence cannot be a participant in two-phase comm
    it. To force this participation, set the GlobalTransactionsProtocol attribute to
    LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
    = EBSConnection
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
    TransactionImpl.java:1881)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
    rverTransactionImpl.java:345)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
    sactionImpl.java:239)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
    Object.java:622)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
    y(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
    ionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
    LocalBeanImpl.handleCallback(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
    sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
    nce cannot be a participant in two-phase commit. To force this participation, se
    t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
    or EmulateTwoPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .>
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <failed to handle message
    javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
    be a participant in two-phase commit. To force this participation, set the Globa
    lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
    woPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:207)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    >
    Could any body help on this issue.It is little bit urgent for us to resolve.
    Thanks in advance.

    Thanks Sudipto Desmukh,
    The link is helpful me to resolve this issue.
    Thanks,
    Narasimha E

  • Calls from cucm to CME not working-unknown number

    hi all
    we have cucm 9.1 and gateway 2911 on the side A and on the side B we have uc540 , we have configured tunnels between 2911 and uc540, calls from cucm SideA to uc540 Side B is ok and working fine. now we have one 9951 phone which gets ip from uc540 (side B) and tftp is our cucm IP.9951 phone is registered in cucm and calls from cucm to that 9951 phones are working fine. now problem is call is one sided between uc 540 local extension and ip phone 9951.
    9951 which is registered on cucm can call uc 540 user  but spa 504 phone which is registered on uc540 cant call to cisco 9951 phone gets error "unknown number"
    i am attaching debug voice ccapi inout with this
    kidnly help me to solve the issue ASAP

    here is show voice register all.i am surprised to see dial peer 20002 but there is no dial peer like that i dont know where its getting this dial peer 20002.extension 2002 is registered with my call manager.
    Router#sh voice register all
    VOICE REGISTER GLOBAL
    =====================
    CONFIG [Version=8.6]
    ========================
      Version 8.6
      Mode is srst
      Max-pool is 0
      Max-dn is 0
      Outbound-proxy is enabled and will use global configured value
      Security Policy: DEVICE-DEFAULT
      Forced Authorization Code Refer is enabled
      timeout interdigit 0
      network-locale[0] US    (This is the default network locale for this box)
      network-locale[1] US
      network-locale[2] US
      network-locale[3] US
      network-locale[4] US
      user-locale[0] US    (This is the default user locale for this box)
      user-locale[1] US
      user-locale[2] US
      user-locale[3] US
      user-locale[4] US   Active registrations  : 0
      Total SIP phones registered: 0
      Total Registration Statistics
        Registration requests  : 0
        Registration success   : 0
        Registration failed    : 0
        unRegister requests    : 0
        unRegister success     : 0
        unRegister failed      : 0
        Attempts to register
               after last unregister : 0
        Last register request time   :
        Last unregister request time :
        Register success time        :
        Unregister success time      :
    VOICE REGISTER DN
    =================
    VOICE REGISTER POOL
    ===================
    Router#

  • Code doesn't behave the way it should when i create an ipa . However , if i flash the build directly from xcode it works fine ?

    Hi ,
    I am creating an ipad application . When the app launches i am trying to get some data from server , and show it at the beggining .
    It works perfectly fine when i run the app in simulator , and flash the build in ipad from Xcode .
    However ,as soon i create an ipa file , install in ipad it doesnt works . Sometimes , it shows network issue , other times its able to give me the data but as soon i convert the data to JSON objet with NSJSONSerialization class , it returns nill .
    Any clue on this abrupt issue ??

    Hi,
    Are you loading the data in didFinishLaunching ??
    If yes then that is the problem.
    ios defines a specific time for app launch, if your app takes more than the allowed time, ios will crash the app.
    Possible solution might be move the webservice call from there to some other suitable place, this will ensure that you app will launch regardless of any network issue, which can be handled later.

  • Report call from forms and 1017

    Hi,
    we have a web application and and it's first screen is the login screen where user can change their password or when grace time comes we force the user to change their password etc. Password changes successfully, no issue and user goes inside the application. But here is the problem. When user clicks the report after chagning the password then report doesn't work, can't connect to database and audit trail shows 1017 so obviously when they click 3 times their account gets locked because in profile it's set to 3 failed attempts. When user close the application and re login again and then click the report, it works fine. I'm suspecting the new changed password doesn't pass to the report? i would really appreciate for your help, suggestions, advise. how do i make sure that the new changed password should be passed to the report?. We're running against 11g database and sec_case_sensitive_logon is set to false.
    Thanks
    RM

    Thank you for replying.
    Forms and Report Version:
    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Report Builder 10.1.2.3.0
    ORACLE Server Release 10.1.0.5.0
    We have a common procedure in the forms Obj Libarary which is called from WHEN-BUTTON-PRESSED trigger.
    Here is the common procedure:
    PROCEDURE EP_RUN_REPORT
                             (     as_in_rep_name      IN     VARCHAR2,
                                  as_in_plist               IN     PARAMLIST,
                                  ab_in_printer          IN     VARCHAR2     DEFAULT NULL
    IS
         ls_rep_id           REPORT_OBJECT;
         ls_job_id               VARCHAR2(300);
         ls_status           VARCHAR2(20);
         ls_url                    VARCHAR2(120);
         ls_rep_server     VARCHAR2(100);
    BEGIN
         TOOL_ENV.GETVAR( 'REP_SERVER' ,ls_rep_server );
         IF ls_rep_server IS NULL THEN
           pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
         ls_rep_id := FIND_REPORT_OBJECT (as_in_rep_name);
         IF ab_in_printer     IS NULL THEN
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, CACHE );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESFORMAT, 'PDF');     
         ELSE
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, PRINTER );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESNAME, ab_in_printer);
         END IF;
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_SERVER,  ls_rep_server );      
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_OTHER, 'PARAMFORM=NO');
         ls_job_id := RUN_REPORT_OBJECT (ls_rep_id, as_in_plist);     
         ls_status := REPORT_OBJECT_STATUS(ls_job_id);
         WHILE ls_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              ls_status := REPORT_OBJECT_STATUS     (ls_job_id);
         END LOOP;
         IF ls_status = 'FINISHED' THEN
              IF ab_in_printer     IS NULL THEN
                   TOOL_ENV.GETVAR('URL',ls_url);
                   IF ls_url IS NULL THEN
                     pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
                     RAISE FORM_TRIGGER_FAILURE;
                   END IF;
                   WEB.SHOW_DOCUMENT(     ls_url ||
                                                                     'reports/rwservlet/getjobid'||
                                                                     SUBSTR(ls_job_id, INSTR(ls_job_id,'_',-1)+1)||
                                                                     '?'||'server='||ls_rep_server,
                                                                     '_blank');
                   ELSE
                        NULL;
                   END IF;
         ELSE     
           pkg_alert.ep_alert('E','ERROR WHILE GENERATING REPORT');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
    END;Is there any other option beside giving the message?
    thanks again.
    RM

  • TS3406 Twice call from same number if not done anything, the screen is locked

    Iso 7.0.4 - Twice call from  same number (within 3 minutes) if not done anything immediately after the first call, the screen is locked (the added photo of screen). Now no way to access the phone of home screen or something else.
    iso 7.0.4 - Twice call from  same number (within 3 minutes) if not done anything immediately after the first missed call, the screen is locked after second missed call bizzarly. Now no way to access the home screen or something else on the screen by any touch (Back seen on the screen also does not get touched) except force power off and on. Please find the solution for me. 
    and shot) m same number if not done anything, the screen is locked.

    Ok, well I had the network support guy down, when I mentioned an "OD Server" he went into Directory Access and put some details in that seem to have fixed the problem! So thanks for that...
    Unfortunately, it looks like some of the other machines in the room might need binding, but at least the network team is aware of it.
    Whereabouts would I look for ARD crash logs on the affected iMac? I tried locking/unlocking the screen again after the other issue was fixed and had the same problem. Its almost instant - as soon as you hit "lock" the status immediately switches to "ARD Not Active".

  • Cell call from one person causes FaceTime to show 2 missed calls at the exact same time from someone else.

    Every time I receive a call from one person, my phone shows in the recent calls list 2 missed FaceTime calls from a totally different person at the same exact time. I've called the second person and asked if they tried to call via FaceTime and the answer is always no. What the heck is going on?

    Hi john_g001,
    If you are having issues with your iPhone apparently adding FaceTime calls to your Recent Calls list when it should not, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    iOS: Force an app to close
    Next, I would try restarting the iPhone -
    Turn your iOS device off and on (restart) and reset
    If the issue is still present, you may want to restore the iPhone as a new device -
    iOS: How to back up your data and set up your device as a new device
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it som

    Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it somewhere in their contract/website.

    Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it somewhere in their contract/website.

  • Fields appear as "Read Only" in an Int.Form called from a WD

    Hi Experts!
    I am having a doubt in an Adobe Int.Form, that is called from a WD application.
    The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there.
    Here, I describe the steps that I follow.
    I create a very simple WD application. In its WD View, exist an unique Object (Adobe Interactive Form).
    In that object, I set the properties:
    "Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
    "PDF Source": a context variable type XSTRING.
    "Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
    "Enabled": True.
    "Read Only": False.
    In the AdobeForm, I have drag & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed, for my test.
    And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
    Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
    But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
    Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.
    So here is my doubt.
    Am I doing anything wrong? Or am I doing any mistake?
    Thank you very much in advance!

    Finally I think I have found the problem.
    In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
    method WDDOMODIFYVIEW .
      DATA: LV_INTERACTIVE_FORM   TYPE REF TO CL_WD_INTERACTIVE_FORM,
                 LV_METHOD_HANDLER     TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
      LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). "   adobeform object in view
      IF LV_INTERACTIVE_FORM IS NOT INITIAL.
          LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
          WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
        ENDIF.
    endmethod.
    Regards,
    Carles

  • How displaying an alert message called from a database procedure

    Hi,
    How can I display an alert message that is called from a database procedure.
    I've tried the following code:
    l_al_button NUMBER;
    l_al_message VARCHAR2(80);
    l_al_id ALERT;
    Set_Alert_Property(l_al_id, alert_message_text,l_al_message);
    l_al_Button := show_alert(l_al_id);
    When trying I receive an error that says that the word ALERT need to be declared.
    Any suggestions?
    Thanks

    Hi,
    leave the procedure without error handling.
    This is what you can do:
    1.Inside the database procedure-
    BEGIN
    RAISE_APPLICATION_ERROR (-20001, 'The chosen length of the Public Key Exponent ....');
    END;
    2.Into your Form -
    BEGIN
    EXCEPTION
    WHEN OTHERS THEN
    IF sqlcode = '-20001' THEN
    Display Your Messages.
    END IF;
    Monica
    END;

  • ON-LOGON does not fire in Form B, called from Form A

    We have a situation like this. We are using Forms (Forms [32 Bit] Version 10.1.2.0.2 (Production)).
    We migrated this application to Forms 11.2.0.1.0. Problem is that the ON-LOGON trigger does not fire in the 2nd level forms. Our application work like this.
    (a.) User double-clicks URL icon.
    (b.) Form A is opened without asking for un/pwd. We put a NULL; in the ON-LOGON of A.fmb.
    (c.) This is the main form of the application. This has a canvas with 6 buttons. Each button will launch it's own separate application with it's own menu.
    (d.) Now user presses button in A. This launches Form B. We use
    Run_Product(FORMS, 'B', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);              (e.) Now, in Form B, in the ON-LOGON trigger we have put code to show the logon screen and login to the DB.
    Problem is, this works in 10g Forms. But we had to replace the RUN_PRODUCT with a CALL_FORM after migrating to 11g since RUN_PRODUCT is not supported in 11g.
    Problem is that when you use CALL_FORM to call Form B, the ON-LOGON of the Form B does not fire. We tried OPEN_FORM and NEW_FORM with different parameters, but the behavior is the same. i.e. ON-LOGON does not fire.
    What is the solution or workaround for this please.
    Edited by: user12240205 on Oct 15, 2012 4:50 AM
    Edited by: user12240205 on Oct 15, 2012 4:52 AM

    Michael Ferrante (Oracle) wrote:
    If you need to open another form you should use CALL_FORM, OPEN_FORM, or NEW_FORM. In these cases, ON-LOGON will not automatically fire because the connect info is passed from the calling form. If you need to login from the called form then you need to need to programatically cause that to occur. Refer to the LOGON and LOGON_SCREEN built-ins in the Builder help for more info. You can fire these from almost any trigger you like, for example in a WHEN-NEW-FORM-INSTANCE trigger or where ever is appropriate for you application.Michael, we tried using the CALL_FORM, OPEN_FORM & NEW_FORM.
    Also, there is NO connection to the DB, when B is called from A since we don't login to the DB in A (ON-LOGON has NULL;).
    So, if there is no DB connection when B is called, shouldn't the ON-LOGON in B fire?
    We tried firing the LOGON_SCREEN and LOGON in the WHEN-NEW-FORM-INSTANCE. But, for some reason, the we don't get the menu (we get a menu not found error). We tried correcting the paths and other things but still no solution.

  • Unable to call from my skype out account

    Hi!
            Iam unable to call from my skype out account to india, but i can able to call skype to skype users.pls advice.otherwise pls advice how to cancel the membership and get my money back.
    Regards
    Rajan

    Contact your carrier.

Maybe you are looking for

  • Can't get videos on iPod

    I got the iPod with video and when I first started using it, any videos in my library automatically would sync to my ipod. Well, I deleted a few videos from my library, thinking that when I plug in the iPod it would delete those few videos from the i

  • Photo streaming into Aperture

    Hi I have acquired an iphone 5. I have set it up to wirelessly transfer iphone photos to "photostream" in  A3. However I notice that photos I download from my regular camera via a card reader also go through to the Photostream. How can I prevent this

  • JNLS Exception?

    As have a number of people, I am getting the: JNLS Exception:oracle.ntpg.jnls.JNLSException Unable to find any National Character Sets. Please check your Oracle Installation. I have read through all the posts on the list that deal with this and it ap

  • Authority check on Tcode

    Hello Experts, Please can any one tell me, how does the code behave in the below situation. AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD 'ZSCHECK' Here am checking whether the user has access to this Tcode 'Zscheck.' what happens if the user has Z

  • IOS5 Update - An error occurred while restoring this iPad (-1)

    Hi, I'm trying to upgrade my iPhones and iPad. My iPhone 4 update went well, but I can't get my iPad to restore afer upgrade.  I keep getting the iTunes message "An error occoured while restoring this iPad (-1)". This happens after the restore is abo