Java script callback not called from plugin code

Hi,
I am having a plugin which works on FF 3.6. I am trying to make it work on FireFox 4/5. My java script callback for resize is getting called only for first time from plugin code and second time onwards its not getting called. We are using Gecko 2.0 plug-in library.
I found two bugs in Firefox which may cause call to invalid callback.
https://bugzilla.mozilla.org/show_bug.cgi?id=664682
https://bugzilla.mozilla.org/show_bug.cgi?id=653083
I think because of these two bugs my callback is not getting called. Is there any update for FireFox 4/Firefox5 with the fix for above two issues?
Thanks,
Rohit

The first Bug is listed as a duplicate of the 2nd Bug you posted.
I don't see any information in the Bug report about which version is going to specifically get the patch. Firefox 4 isn't supported any longer, and I can only assume that with an '''''Importance:''''' of '''normal''', that it won't be "pushed" to Firefox 5. AFAIK, with the new Fast Release schedule only security bugs are going create a situation where a '''''dot#''''' release is going to be made, and other Bugs that have been patched might then be included. With the current release schedule it's going to be 6 weeks between versions, vs the previous 12 to 14 months, or so.
You may want to try a 6.0 beta to see if it is fixed there.

Similar Messages

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner> scriptRunner(scriptManager, UseDefaultIID()); <br />     IDFile scriptFile(scriptFilePath); <br />     if (scriptRunner->CanHandleFile(scriptFile)) <br />     { <br />       ScriptData returnValue; <br />       PMString errorString; <br />       ErrorCode error = scriptRunner->RunFile(scriptFile); <br />         ASSERT(error == kSuccess); <br />     } <br /><br />But the RunFile() method is cs4 expects an additional argument of the type RunScriptParams. <br />Someone please show me with a code snippet on how to excute a script file in CS4??

    Dear Ian
      Here I'm used the below coding in CS3, Its working fine....
    //In CS3 Coding
      PMString jsFullPath("c:\\windows\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if(scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, kTrue, kFalse);
    while(kFalse);
    But the same time I used this coding in CS4, Its not woking
    //In CS4 Coding
    PMString jsFullPath("c:\\windows\\MacID\\BIN\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if
    (scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    while(kFalse);
    I changed the "RunFile" arguments also
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    But Still I'm facing the problem in InDesign CS4.  That's mean  "Adobe InDesign CS4" shout down for serious error happend.
    Please kindly help me, for solving this problem.
    Thanks & Regards
    T.R.Harihara Sudhan
    Message was edited by: Adobe-InDesign CS4

  • Java script is not working while coming back to the page.

    Hi Experts,
    I am working in jdev 11.1.1.3.0 with ADF BC.
    I am callling javascript in my jsff, while this javascrip is invoking file download method. this java script i am inovking from another button action, because in some case i need to invoke popup and some case i need to invoke file download for this i have taken one button in that button i am invoking these 2 based on some condition. everything is working fine except if i move another jsff and come back to this jsff then the file download is not happening.
    can any one tell me what is the issue here.
    java script:
    function customHandler(event) {
    var exportCmd = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pt_region0:1:cb1")
    var actionEvent = new AdfActionEvent(exportCmd);
    actionEvent.noResponseExpected();
    actionEvent.queue();
    java bean:
    if(downloadFile!=null){
    System.out.println("invoking downloads...............................");
    erks.addScript(context, "customHandler();");
    } if (requestClause != null){
    System.out.println("invoke popup");
    executeSactionCheckVO(requestClause);
    ADFUtils.invokePopup(this.getP2().getClientId(FacesContext.getCurrentInstance()));
    Here my bean is in backing bean scope.
    can any one help what may be the issue here. or if you can tell me how to call file download method from backing that can be great help full to me.
    Edited by: user5802014 on Aug 27, 2010 1:52 PM

    Hi:
    So it's the "erks.addScript(context, "customHandler();");" may not work properly the next time coming back from another jsff.
    And very likely the statement of: var exportCmd = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pt_region0:1:cb1") in your javascript command gave you error. Are you sure that "pt1:pt_resion0:1:cb1" is valid all the time no matter how the page is rendered?
    Please mark my answer as 'Helpful' if it helps.
    Thanks,
    Alex

  • Java script is not working in custom tabular form

    hai all,
    i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
    pls help me.
    with thanks and regards
    sivakumar.G

    Is the appostrophe function test(pthis) *'* present in your javascript code...
    If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
    Regards,
    Shijesh

  • Java script does not seem to be working with Firefox 3.6

    I am using Firefox 3.6, and recently installed MAC OS 10.6.5. I had a problem today working on a website and java script would not work with this browser. I was able to work on Safari though...

    To fix this you will need to delete your firefox profile directory to get the new firefox 3.6.13 to work with the java plugin, its a good idea to run an update for java as well before hand. Or you can totally get rid of firefox and the profile directory and load an older version, just turn off automatic firefox updates.

  • LABVIEW.LIB was not called from a LabVIEW process

    Hi All,
    I've inherited LV code that calls a CIN node to access a motor controller.  I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
    I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
    http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
    http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
    The conclusion seems to be recompiling is the answer.  I've tried recompiling the original CIN vi within LV with no success.  Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)?  Any suggestions would be awesome.  Thanks.
    -Joe

    You can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
    Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
    Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • OCCI AQ Subscription: callback not called

    When data changed in table, I want my application to know immediately. So I use the Subsription class. The implements as follows. When I insert row to table set_tab_info, the triggers acts, but the callback not called. What's wrong?
    --create multi consumer queue table
    BEGIN
    dbms_aqadm.create_queue_table (
                                       queue_table => 'hr.table06',
                                       queue_payload_type => 'RAW',
                                       comment => 'multi-consumer',
                                       multiple_consumers => TRUE,
                                       compatible => '8.1.0'
    END;
    --create multi consumer queue
    BEGIN
    dbms_aqadm.create_queue (
                                  queue_name => 'queue06',
                                  queue_table=> 'hr.table06'
    END;
    BEGIN
    dbms_aqadm.start_queue(queue_name => 'queue06');
    END;
    --create table
    CREATE TABLE set_tab_info(
         flag NUMBER
    --create trigger, as a test, the payload is a byte
    CREATE OR REPLACE TRIGGER tablechangeNew
         AFTER UPDATE OR INSERT OR DELETE
         ON set_tab_info
         FOR EACH ROW
    DECLARE
         enqopt dbms_aq.enqueue_options_t;
         mprop dbms_aq.message_properties_t;
         enq_msgid RAW(16);
         rcpt_list dbms_aq.aq$_recipient_list_t;
    BEGIN
         rcpt_list(0) := sys.aq$_agent('RECEIVER06', null, null);
         mprop.recipient_list := rcpt_list;
         dbms_aq.enqueue(
                        queue_name => 'hr.queue06',
                        enqueue_options => enqopt,
                        message_properties => mprop,
                        payload => HEXTORAW('61'),
                        msgid => enq_msgid);
    END;
    #include <iostream>
    #include <iomanip>
    #include <string>
    #include <cstdlib>
    #include <vector>
    using namespace std;
    #include "occi.h"
    using namespace oracle::occi;
    #include "occiAQ.h"
    using namespace oracle::occi::aq;
    string username("HR");
    string password("HR");
    string connstr("192.168.8.22:1521/study");
    Environment* p_env = NULL;
    Subscription* p_sub = NULL;
    Connection* p_conn = NULL;
    vector<Subscription> sub_vec;
    class NotifyRegister
    public:
         static unsigned int callback(Subscription& sub, NotifyResult* nr)
              //nr->getPayload();
              //Message msg = nr->getMessage();
              //Bytes bt =nr->getMessageId();
              cout << "callback was called!" << endl;
              return 0;
         void notifyTest()
              p_env = Environment::createEnvironment(Environment::EVENTS);
              p_sub = new Subscription(p_env);
              p_sub->setSubscriptionNamespace(Subscription::NS_AQ);
              //SCHEMA.QUEUE:CONSUMER_NAME
              p_sub->setSubscriptionName("HR.QUEUE06:RECEIVER06");
              p_sub->setPresentation(Subscription::PRES_DEFAULT);
              p_sub->setProtocol(Subscription::PROTO_CBK);
              p_sub->setNotifyCallback(&NotifyRegister::callback);
              //what's the context mean, how to set?
              p_sub->setCallbackContext((void*)this);
              p_env->enableSubscription(*p_sub);
              p_conn = p_env->createConnection(username, password, connstr);
              sub_vec.push_back(*p_sub);
              p_conn->registerSubscriptions(sub_vec);
    int main()
         NotifyRegister nr;
         nr.notifyTest();
         pause();
         return EXIT_SUCCESS;
    I don't know how to set the callback context. so just use this statement:
    p_sub->setCallbackContext((void*)this);

    Thanks, once again. Sorry for my naive questions, but I'm unable to find a good example for this...
    After registering the Subscriber, and creating the environment in EVENT mode, it seems like it is picking up the message. Once I send a AQ message, I get an error from visual studio, telling me the variable ESP was not properly saved across a function call. At least it reacts now :)
    Could it be that I'm doing something wrong when defining or hooking my callback function? The breakpoint in the callback function is never called....
    my registering routine now looks like this:
    void aq_connection::create_callback() {
    payload = new Bytes(env); //is this the correct way?
    Subscription sub(env);
    sub.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    sub.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    sub.setPayload(*payload);
    sub.setCallbackContext((void *)this);
    sub.setSubscriptionName(quename + ":" + config->subscribername);
    sub.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    sub.setNotifyCallback(&aq_connection::event_message);
    subs.push_back(sub);
    conn->registerSubscriptions(subs);
    I thought it was ok to create a local Subscription instance, as I put it into the global subs-vector.
    Thanks in advance,
    Sverre

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Fast fromula related to oracle payroll are not called from Formula result window

    Hi,
    Few of the fast fromula related to oracle payroll are not called from Formula result window , please let me know how these fast formulas are called.
    Example : PAY_GB_EDI_MOVDED6_FOOTER
    Thanks,
    Subbu.

    Hi Subbu,
    Some reports are handled by the PYUGEN engine as Magnetic reports.
    These are old fashion reports to generate Magnetic files, like BACS EDI files etc..
    select * from ff_formulas_f
    where formula_name like 'PAY_GB_EDI_MOVDED6%';
    If you see the above, there are 3 formulas defined for generating this report - Header, Body & Footer.
    All are called in a sequence by the PYUGEN process based on what you seed in pay_magnetic_blocks.
    All the logic is within these Fast formulas.
    But as they're seeded there's nothing much you can do.
    Cheers,
    Vignesh

  • Fatal error Labview.lib not called from a Labview process

    in teststand my vi works fine with adapter set for LV development
    when I configure the LV adapter for runtime, I get fatal error Labview.lib not called from a Labview process
    what is going on?
    how do I fix it?
    thanks.

    Howdy Stephen -
    Are you by chance calling a LabVIEW DLL within your LabVIEW VI which is being called from TestStand?  I know this error occurs when a LabVIEW DLL built in a different version of LabVIEW than the selected Run-time Engine.
    Here is a KnowledgeBase which references the issue:
    KnowledgeBase 203EA3XC: LabVIEW.LIB Error When Calling a LabVIEW DLL Built with VIs That Use Externa...
    If this is the case, you will need to open the LabVIEW DLL source VI in the LabVIEW version you are using and rebuild the DLL.
    Thanks and have a great day!
    Regards,
    Andrew W || Applications Engineer
    National Instruments

  • Company currency does not differ from company code currency

    Hi Everyone,
    I am a newbie in SAP FI. Forgive me if this is a rpet pos. I could not find an answer using search.
    Here is my problem:
    I defined a compay with currecny as USD. I defned two company codes one with currency USD and the other
    with currency INR.
    I assigned compay code 1 (with USD as currency) to cmpany successfully.
    However, when I tr t assign the secnd company ( wih INR currency)it gives me the following error:
    "Company currency does not differ from company code currency".
    How do I solv this problem.
    Thaks,
    Cheruvu

    hi
    when you defined your company currency as USD and Company code currency is also USD therefore it is not shown any warning but second company code currency taken as INR system  expressing warning since company currency and company code currency differs as company stands for group for consolidation point of view
    therefore it is only warning not error you can just enter and further configure nothing will be adverse
    regards
    srinivask

  • Initialization section vs call from another code block in package.

    hi,
    why is it intialization section in package body is more than call from another code block the package .

    The initialization section is only called once upon the initial loading of the package into memory, which is just once per session. So, accessing any function or procedure etc in the package causing it to load into memory will automatically run the initialization section first. It doesn't have to be called specifically.

  • Java calls from ABAP code in XI

    Java and ABAP gurus,
    Is it possible to make java call from ABAP. Is a sample out there I can take a look at.
    Please help.
    Thanks.

    Hi,
    YES, Very well it  is Possible,
    This will help you
    /people/bv.pillai/blog/2006/09/28/calling-mdm-java-api-application-executable-from-abap
    /people/vijayasarathy.raghunathan/blog/2005/12/28/java-editor-inside-abap
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    JCo Outbound( calling Java Function from ABAP )
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Call Java Class and Methods from ABAP
    Regards
    Agasthuri Doss

  • Is it possible to intitate total page refresh from plugin code

    In 11.1.1.4 EMAIGC we are facing following issue: Target status is not getting refreshed after dependent components status change (Which will be done through through EM Plugin UI actions). This will status will be reflected only after manual refresh.
    From our plugin code , after the dependent component start/stop operations we wanted to call total page refresh, is there any way to handle this?
    Thanks ,
    Ramadevi

    In 11.1.1.4 EMAIGC we are facing following issue: Target status is not getting refreshed after dependent components status change (Which will be done through through EM Plugin UI actions). This will status will be reflected only after manual refresh.
    From our plugin code , after the dependent component start/stop operations we wanted to call total page refresh, is there any way to handle this?
    Thanks ,
    Ramadevi

Maybe you are looking for