Not firing setValueAt() in the TableModel

Hi All,
I have a JTabbedPane which contains 6 Tabs and each Tab contains a JTable. A table may have JTextFieldcelleditor , JCheckBoxcelleditor...
I entered a value in the JTextFieldcelleditor of first Tab.
and immediately ...I am changing from first Tab to second Tab, then entered value is not set with the TableModel i,.e setValueAt() of My TableModel is not firing...
Regards,
Ananth

set
yourtable.putClientProperty("terminateEditOnFocusLost",
                         Boolean.TRUE);for all tables and the values are set when changing tabs.
EDIT: :shakefist: @ mac ! ;-)

Similar Messages

  • Schema Trigger not firing except for the schema's user

    Hi. I've created this schema level trigger. The schema is TTMS and the user I created the trigger with is named TTMS. The trigger is designed to alert me by email when someone alters a schema object.
    My problem is that the trigger only fires when I'm logged in as the schema owner (TTMS). When I'm logged in as TTMS and add a column to a table in this schema I get the email alert as expected. But if I log in as my own individual username (SSBUECHL) the trigger doesn't fire.
    Is there a privilege that the TTMS user needs to grant to my user so that this trigger will fire when I'm logged in as SSBUECHL? Any help would be greatly appreciated.
    CREATE OR REPLACE TRIGGER TTMS.altered_ttms_tabs_trigger
    AFTER ALTER ON ttms.SCHEMA
    DECLARE
      PSENDER VARCHAR2(200);
      PRECIPIENT VARCHAR2(200);
      P_CC_RECIPIENT VARCHAR2(200);
      P_BCC_RECIPIENT VARCHAR2(200);
      PSUBJECT VARCHAR2(200);
      PMESSAGE VARCHAR2(6000);
      auditTable_ind varchar2(1);
      BEGIN
        select nvl(count(table_name),0)
        into auditTable_ind
        from all_triggers
        where substr(trigger_name,1,9) = upper('tr_audit#')
        and table_name=ora_dict_obj_name;
        if auditTable_ind > 0 then
          INSERT INTO altered_tabs
          VALUES
          (ora_dict_obj_type, ora_dict_obj_name, SYSDATE, user);
          PSENDER := '[email protected]';
          PRECIPIENT := '[email protected]';
          P_CC_RECIPIENT := '[email protected]';
          P_BCC_RECIPIENT := '[email protected]';
          PSUBJECT := 'TTMS Audit - Altered Audit Table Alert - Action Required';
          PMESSAGE := ora_dict_obj_name||' was altered on '||sysdate||' by '||user||'.  Please rebuild the audit index immediately.';
          TTMS.SEND_MAIL ( PSENDER, PRECIPIENT, P_CC_RECIPIENT, P_BCC_RECIPIENT, PSUBJECT, PMESSAGE );
        end if;
      END;
    /

    No, but I've alter the code as such and it still only fires for the TTMS user:
    CREATE OR REPLACE TRIGGER TTMS.altered_ttms_tabs_trigger
    AFTER ALTER ON ttms.SCHEMA
    DECLARE
      PSENDER VARCHAR2(200);
      PRECIPIENT VARCHAR2(200);
      P_CC_RECIPIENT VARCHAR2(200);
      P_BCC_RECIPIENT VARCHAR2(200);
      PSUBJECT VARCHAR2(200);
      PMESSAGE VARCHAR2(6000);
      auditTable_ind varchar2(1);
      BEGIN
        select nvl(count(table_name),0)
        into auditTable_ind
        from all_triggers
        where substr(trigger_name,1,9) = upper('tr_audit#')
        and table_name=ora_dict_obj_name;
        if auditTable_ind > 0 then
    */      INSERT INTO altered_tabs
          VALUES
          (ora_dict_obj_type, ora_dict_obj_name, SYSDATE, user);
          PSENDER := '[email protected]';
          PRECIPIENT := '[email protected]';
          P_CC_RECIPIENT := '[email protected]';
          P_BCC_RECIPIENT := '[email protected]';
          PSUBJECT := 'TTMS Audit - Altered Audit Table Alert - Action Required';
          PMESSAGE := ora_dict_obj_name||' was altered on '||sysdate||' by '||user||'.  Please rebuild the audit index immediately.';
          TTMS.SEND_MAIL ( PSENDER, PRECIPIENT, P_CC_RECIPIENT, P_BCC_RECIPIENT, PSUBJECT, PMESSAGE );
    --   end if;
      END;
    /Edited by: sharpe on Jun 9, 2011 3:39 PM

  • Output--- automatic mail is not firing to sold to party.

    Dear Gurus,
        My client requirement is to sent mail to sold party when saving a sales order.
      For this I creted a new output type with following assignments
    In General data tab:acess sequence assigned and Access to conditions is checked
    In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
    ),Communication strategy(CS01) assigned.
    In Time tab: no information given
    In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
    In Print tab: print parameters(sales org) assigned.
    In mail tab: nothing assigned.
    In sort order tab:nothing assigned
    In mail title and texts: En and DE languages are assigned.
    in processing routines: program and form routine is assgned.
    in partner functions: External send+ SP is maintained.
    and in condtion record maintained in VV11 tcode with details
    Partner function and in communication assigned printer and  selected check box print immadiately and release after out.
    But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
    Rgrads,
    kishore.
    Edited by: kishore gopala on Sep 13, 2008 1:42 PM

    Check whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
    In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an  '*' asterisk has been maintained or not.
    Check the status of the email output in the Sales Order, is it showing with a green traffic light???
    If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
    If they have not gone you will be able to see them queued up there.
    Select the individual messages and press execute button. By doing this email outputs will be released.
    Hope this helps you.
    Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
    Hope this helps.
    Regards,
    Vivek

  • OnComplete not firing Mac

    I have tried the work around for Flash 8 even though I have
    the latest Flash Player on my machine. The onComplete is not firing
    and hanging the progress bar at 100%. I have read on forums that an
    echo or respons.write("") will clear the problem but it does not
    seem to be working.
    Thanks in advance

    I mean Event.Complete, not onComplete but I assume you all
    know that!

  • Firefox not firing the IOErrorEvent

    Firefox not firing the IOErrorEvent when load fails due to
    unavailability of internet connection in URLLoader.
    I am loading data in my application based on user actions. If
    the user is disconnected and he makes a request for data load, the
    IOErrorEvent tied to the URLLoader object is not being thrown in
    firefox. The same thing works fine for IE where on IOErrorEvent I
    am displaying appropriate message but in case of firefox nothing is
    happening.
    Any ideas about what is going on.
    Rahil

    I guess we don't have a lot of .Net developers on this site.
    Obviously your server-side .Net code has to be translated into corresponding client-side JavaScript in order to add event handlers to the page. And errors running that JavaScript should appear in the Error Console (Ctrl+Shift+j).
    If the console doesn't provide any insight, can you provide a link to the page that has the problem? Then it would be possible to view the code that Firefox actually is (or is supposed to be) executing.

  • Crystal Report Alerts not firing when no records are fetched from the DB

    Hello,
    The crystal report alert i have created in the report in the event of no records being fetched from the query is not firing.  The condition used is isnull ( count(DB Field ) ).
    Is there a limitation with alerts that they would be fired only when some records are fetched in the report.
    Appreciate any pointers
    -Jayakrishnan

    hi Jayakrishnan,
    as alerts require records to be returned here's what you will need to do:
    1) delete your current alert
    2) create a new formula with syntax like
                  isnull(DistinctCount ()) or DistinctCount () = 0
    3) create a new Subreport (which you will put in a report header)
    4) the subreport can be based off of any table
    5) have the subreport record selection always return only 1 record...for performance reasons
    6) change the subreport link to be based on the new formula
    7) the link will be a one way link in that you will not use the "Select data in subreport based on field" option
    8) now in the subreport, create the Alert based on the parameter created by the subreport link
    i have tested this and it works great.
    jamie

  • Key-nextrec not firing in forms 10g

    I have a code in the above trigger, but it is not firing, I have it in the block property and no other place in the form
    message('In key next rec----'); message(' ');
    IF :SYSTEM.Last_Record = 'TRUE' Then
    Null;
    Else
    next_record;
    End If;

    when-new-record-instance runs when you navigate to the next record.
    Key-Nxtrec (Nxtrec is the correct spelling) only runs when you press the key assigned to call that trigger. In my environment, it is the Shift+ Down-Arrow key, but it could be just Down-Arrow -- it all depends on what key sequence is assigned to Forms Function Number 67 in your Forms Resource file, FMRWEB.res (or fmrusw.res).
    So if the trigger runs when you press the correct keyboard key, and you issue the message but do not call the Next_Record; built-in, focus will not navigate to the next record in your running form.

  • When new record instance not firing on Purchase Order form

    I query a purchase order and click on the shipment lines button. There are 2 shipment lines in this example. I am using CUSTOM.pll to inject some specific code to restrict the cancel functionality. One line I want to restrict the cancel functionality and the other line I don't want to restrict. The problem arises when I click between the two rows on the Org or Ship to fields. No event or trigger gets fired that I can see; hence, the CUSTOM.pll code does not get injected and the user will be able to cancel both lines. Any ideas? Thank you for your time,
    -Kevin

    What does that mean? In the middle of creating a record?
    But how come system allows me to go to the 2nd tab when it goes to the last record and doesnt allow me to go the 2nd tab when i create in middle of the record
    Seems that there is some difference in the data of the two records, maybe one record passing validation and the other one not.Validations are same, both the scenario it just creates a new record.

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • Breakpoints not firing

    Hello Dev's,
    I am having a problem in only one project and I have even tried to recreate the project with no success but previous projects created years prier (made with previous versions of FB) are not experiencing this.
    I am trying to place breakpoints on functions in deep rooted classes (a class that is loaded by a class by a class, its a smaller component from a greater project) which I know is firing as I see the results on the screen.
    However the break point does not fire and remains a blue circle, indicating it won't fire. If I remove and re add the break point while the app is running, it will become checked but once I run the debugger the break point turns back into a blue dot.
    If I put a break point in one of the first lines of the application class, like in it's constructor, it will trigger and then my deeper break points will fire. But if I don't make this out of the way break point (in the main class) the following break points are not firing.
    Thoughts?
    Flex Builder 4.5
    SDK 4.5.1
    Debugger 11.6.5.635 (in FireFox)

    I haven’t seen that before, but in theory would be possible if several SWFs are being loaded and you get a class collision and the breakpoint in the app changes the timing of the loaded SWFs.

  • OnRowUpdating Event not firing in my DataGrid in custom web part in my production SharePoint 2013 Foundation instance

    Hi,
    I have a custom visual web part that I've developed for SharePoint 2013 Foundation.  I am using Visual Studio 2013 to develop this web part. 
    In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database.  In dev and test the OnRowUpdatingEvent fires properly, but in production it does not.  I have the same version of SharePoint running on dev/test/prod. 
    The main difference between the three environments is the hardware.  Production has a much beefier sever than dev and test.  Dev and test are also virtual machines where production is.
    At first I thought my problem was cache related, and I made adjustments per this article:
    http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    That didn't help because the event is still not firing.  I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
    using the same credentials in both instances.
    My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
    Any suggestions on what settings to look at?
    Brian
    Brian Hochgurtel
    My blog

    Try this solution :
    http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview

  • KEY-COMMIT not firing

    I am working on an Oracle 10g database and am using Oracle Forms Developer 10g to create forms. I have created a new 2 field table in my database:
    CREATE TABLE career_cluster
    (career_cluster_code VARCHAR2(3) NOT NULL
    ,CONSTRAINT career_cluster_pk
    PRIMARY KEY (career_cluster_code)
    USING INDEX
    TABLESPACE GALINDX
    ,career_cluster_desc VARCHAR2(30) NOT NULL
    TABLESPACE galaxy;
    I have also created a form so that users can enter data into this table. I have a career_cluster data block in my form with two items: career_cluster_code (set with a maximum length of 3 in my property palette) and career_cluster_desc (set with a maximum length of 30 in my property palette). Both items are also set in the property palettes to a char data type. In my SQL code (in the form) I always have these two items set as varchar2 with (3) and (30), respectively.
    The form opens fine when I run it, however when I click on my SAVE button my KEY-COMMIT trigger is not fired -- it jumps directly to my ON-ERROR trigger and I get an Oracle ORA-06502 error message. I don't see any inconsistencies in my data types or lengths. Below is my KEY-COMMIT code:
    DECLARE hold_item varchar2(30) := :system.cursor_item;
    hold_record varchar2(10) := :system.cursor_record;
    mess_name varchar2(80);
    mess_text varchar2(80);
    BEGIN
    go_block('career_cluster');
         if (error_code = 40202) then
              goto end_of_trigger;
         end if;
    if :system.block_status = 'CHANGED' then null;
    commit_form;
    if FORM_SUCCESS then null;
    mess_name := 'Transaction Complete';
    mess_text := 'Career Cluster(s) committed to the database';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    else null;
    mess_name := 'No changes to commit';
    mess_text := 'No changes have been made to the Career Cluster Code Table';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    go_item(hold_item);
    go_record(hold_record);
    <<end_of_trigger>>
    null;
    END;
    I put in a DISP_ALERT message right after the BEGIN statement but it never displayed so I don't think this trigger is firing. I also put a similar DISP_ALERT message in my ON-ERROR trigger and that does display, so I know it is going right to my ON-ERROR trigger. Does anyone have any ideas what might be triggering the ON-ERROR?
    Thanks,
    -NTW

    ORA-06502 is a numeric or value error string which is raised when an arithmetic, numeric, string, conversion, or constraint error occurrs. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).
    I would suggest you to look at the columns definitions in the table and the form fields/variables data types and lengths and make sure they are same as the backend table columns.
    Also, you don't need to put NULL; after each IF ELSE conditions if you have any other statements.
    I would also suggest that you handle any errors in either exception handler of the block or in the ON-ERROR triggers.
    Try this:
    DECLARE
        hold_item varchar2(30) := :system.cursor_item;
        hold_record varchar2(10) := :system.cursor_record;
        mess_name varchar2(80);
        mess_text varchar2(80);
    BEGIN
        GO_BLOCK('career_cluster');
        IF :system.block_status = 'CHANGED' THEN
            commit_form;
            IF FORM_SUCCESS THEN
                mess_name := 'Transaction Complete';
                mess_text := 'Career Cluster(s) committed to the database';
                DISP_ALERT2(mess_text,mess_name);
            END IF;
        ELSE
            mess_name := 'No changes to commit';
            mess_text := 'No changes have been made to the Career Cluster Code Table';
            DISP_ALERT2(mess_text,mess_name);
        END IF;
        GO_RECORD(hold_record);
        GO_ITEM(hold_item);
    EXCEPTION
      WHEN OTHERS THEN  MESSAGE(TO_CHAR(ERROR_CODE)||'-'||ERROR_TEXT);
      RAISE FORM_TRIGGER_FAILURE;
    END;

  • Sharepoint 2013 document library incoming email without attachment not firing event and not getting email

    sharepoint document library incoming email without attachment not firing event and not getting email
    If email contains attachment it works. Is there any setting in document library that will allow emails and eventhandler to fire with out attachment?
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    What is the purpose of email sent to document library if no attachment. What document library will do what that email if it cant find attachment to save and create a spdoc object. If you want to store email/communication body then opt for site mailbox
    app.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • On New Instance computation not firing if user fails authorisation

    Hi there,
    In my Apex 4 application I have:
    - An application-level field
    - An On New Instance computation that computes the above field (no conditions or authorisations set on it)
    - A public page
    - A secure page to which the user I use to log in doesn't have access
    If, after logging in, I go straight to the public page and then to the secure page, I get the error "user not authorised" but the application item is computed.
    However, if I go straight to the secure page after logging in the application I get the error message but item is not computed! (I know that because I am displaying the item in the error page template using the format &F_FIELD.)
    I thought On-New-Instance-Anything should always be executed.. but that does not seem to be the case... Or am I missing something?
    How to fix this? I need the on new instance computation to always execute even if the user fails authorisation.
    Thanks
    Luis

    - If I understand you correctly, you are suggesting to move the application computation into the login page, as a page computation?An assignment statement in a PL/SQL process that runs after the login process could work, but it would be safer to use an application-level computation that fires only after APP_USER is definitely set to the authenticated username. The condition would be something like "if :MY_USER_ID_ITEM is null and :APP_USER not in ('nobody', 'HTMLDB_PUBLIC_USER','APEX_PUBLIC_USER','ANONYMOUS')...". Then your application will work if you decide not to have a login page someday, e.g., if you switch to SSO.
    If the computation point is "after submit", why do I need to worry about "per session"? It will be fired only when the user enter/re-enter the system, right?Yes.
    My logout URL was constructed by page wizard. I don't see any session id there. Should I look anywhere specific?If you still have problems with an on-new instance event not firing after a logout URL results in a new session being created let me know. It may be moot for this case.
    Scott

Maybe you are looking for