JTable Blank Rows When INSERT/DELETE in other panel with same ViewObject

Hi,
Jdev 10.1.2
JClient
2 panels based on same ViewObject in same AM
One panel with Grid UI => JTable
Other panel with Form UI
When I insert or delete a record in the panel with Form UI and return to the panel with JTable blank rows are displayed.
The problem remains even after commiting before returning to JTable panel.
When I activate the execute button in the JTable panel, the display is OK but the currency is lost.
I suppose calling the refresh method when returning to the JTable panel should solve the problem.
Can you please suggest me a server-side/model workaround:
refresh (which option to use ??)
Thanks
Frederic
PS I tried the workaround of thread 10.1.2 JClient binding Error. but that doesn't help.

Same problem with default wizard generated Master-Detail Form.
When in the detail more then 10 rows exist, the scrollbar shows that not all rows are displayed.
If I use the scrollbar to view the last rows they are blank, in order to display them I must activate the next button one time for each additional row.
The workaround is to enter -1 in the range size of the iterator.
But what if the range size is 10.
Is the blank rows display a bug?
OR
Must the scrolling area (size of JScrollPane) be defined according to the range size of the iterator?
If the latter is true:
Can somebody give me some clues on which attributes of the JScrollPane must be set (PreferredSize, MinimumSize ??) and on how to calculate this area: total width & total height if the row height for the table is set to 20?
Your help will be appreciated
Frederic

Similar Messages

  • Ipod touch 4g - sound comes out one earphone loud and the other softly. I've tried other headphones with same result. is there a fix for this ?

    Ipod touch 4g - sound comes out one earphone loud and the other softly. I've tried other headphones with same result. is there a fix for this ?

    Clean out/blow out the headphone jack. Insert/remove the heaphone plug a dozen times or so
    Try the following to rule out a software problem:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>GeneralReset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store since it appears you have a bad headphone jack
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours
    Apple - Support - iPod - Repair pricing
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue.

    Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue. Other drive I have had have lasted at least 5 or more years.

    there is a dylib you can put in the springboard if jailbroken but if not you have to find an apple store

  • Auto start Front row when insert DVD

    Bonjour,
    May the subjet has been already discussed, but is anyone
    know an applescipt that can auto start front row when a DVD is
    loaded?
    Thank you

    I couldn't get this suggestion to work on two different Macs. I don't think the Front Row.app is handled the same way as other applications. For example, you can't launch Front Row by double clicking on it inside the CoreServices folder.
    -Doug

  • Extract two rows when two codes are stored in the same column

    I have a column like this
    American Indian or Alaska Options
    XCK,XON
    I want to be able to insert to records for this pidm (primary key)
    this is how it is in the table
    SZSCAPL_APPLICANT_ID     SZSCAPL_AMER_INDIAN_ALASKA_OPT
    5666090                                      XCK,XONso I need to be able to extract one ROW for XCK, and another row for XON, so I can insert two records in the GORPRAC table
    for an speific record in a column, I want to be able to select two records for this person in a select staement, so I can inserted two records in another table
    I need to be able to display two records
    I got this code, but it is not working...
    INSERT INTO general.gorprac
                            (gorprac_pidm, gorprac_race_cde, gorprac_user_id,
                             gorprac_activity_date, gorprac_data_origin
                            SELECT spriden_pidm,
                             DECODE (szscapl_amer_indian_alaska_opt,
                            'XAN', 'N1',
                            'XCW', 'N1',
                            'XCH', 'N1',
                            'XCK', 'N1',
                            'XNV', 'N1',
                            'XSX', 'N1',
                            'XON', 'N1'),
                            p_user,
                            sysdate,
                           'Common App Load'
                        FROM saturn_midd.szscapl, saturn.spriden
                        WHERE spriden_id = szscapl_applicant_id
                        AND spriden_ntyp_code = 'CAPP'
                        AND szscapl_amer_indian_alaska_opt IN ('XAN','XCW','XCH','XCK','XNV','XSX','XON')
                        AND NOT EXISTS
                           (SELECT * FROM GORPRAC
                             WHERE GORPRAC_PIDM = SPRIDEN_PIDM
                            AND spriden_ntyp_code = 'CAPP'
                            AND GORPRAC_RACE_CDE = 'N1'); Edited by: peace4all on Sep 10, 2009 3:19 PM

    Learn about Oracle insert statements.
    http://www.morganslibrary.org/reference/insert.html
    It can be done with:
    INSERT ALL
    INSERT WHEN
    INSERT ALL WHEN
    and
    INSERT FIRST WHEN

  • Midori Crashes when handling files, takes other apps with it [SOLVED]

    I have been experiencing some issues with Midori that cause it to lock up. When it locks up, it tends to take other programs with it (VLC, aMSN, some text editors, etc). Why is this and is there any way to prevent it? When one process locks up I dont want to have to kill 3 or 4 other processes every time. I assume this must have to do with some dependancy that they are all using (gtk?).
    Some other programs like xterm and worker are not effected. Is there anything I can do so that when Midori locks up I only have to kill Midori?
    Thanks!
    fatjake
    Last edited by fatjake (2010-05-04 21:36:37)

    I just looked around and found some messages that look relevant. This is how I reproduce the error (one way)
    1) Right click on an image in Midori and go to "Save Image"
    2) Select my save location (home/myuser) and click save
    3) The progress bar at the bottom of Midori indicates that the file is saved
    4) Click on the folder icon to the right of the progress bar
    5) Midori instantly freezes as do an assortment of other programs (bluefish, nedit, vlc, aMSN)
    6) Eventually the dialog comes up about midori being frozen and if you want to send a signal to exit or whatnot, this makes the window go away but I cant open another instance of Midori until I pgrep midori and kill -9 pid
    The messages I found are visible if I crtl+alt+f1 and look at the linux terminal where I started X from:
    /usr/bin/xdg-open: Line 452: Mozilla: command not found
    /usr/bin/xdg-open: Line 452: Epiphany: command not found
    /usr/bin/xdg-open: Line 452: konqueror: command not found
    /usr/bin/xdg-open: Line 452: chromium-browser: command not found
    /usr/bin/xdg-open: Line 452: google-chrome: command not found
    /usr/bin/xdg-open: Line 452: links2: command not found
    /usr/bin/xdg-open: Line 452: links: command not found
    I am assuming those messages happen when the system is looking for the correct program to open a file with? I will look into this and post my solution here when I find something.

  • "Failed to validate all rows" when inserting in master detail scenario

    Hi,
    I have problem writing data in a master detail scenario..
    i use the following bean method to write data.
    Data is inserted in the master table successfully but when i try to commit in the details table i get the error "Failed to validate all rows in a transaction."
    public void save(ActionEvent actionEvent)
    //writing into master table
    DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterBind =
    (DCIteratorBinding)bindings.get("Master1Iterator");
    MasterVOImpl vo_pr = (MasterVOImpl ) iterBind.getViewObject();
    Row r=vo_pr.createRow();
    r.setAttribute("Name", name);
    Number num =(new oracle.jbo.server.SequenceImpl("new_seq",vo_pr.getDBTransaction())).getSequenceNumber();
    r.setAttribute("Id",num);
    vo_pr.insertRow(r);
    vo_pr.getDBTransaction().commit();
    //writing into details table
    DCIteratorBinding scopeiterBind =
    (DCIteratorBinding)bindings.get("Detail2Iterator");
    DetailVOImpl vo_sc = (DetailVOImpl) scopeiterBind.getViewObject();
    Row rs=vo_sc.createRow();
    rs.setAttribute("iddetail",iddetail);
    rs.setAttribute("Name", Name);
    rs.setAttribute("id",num);
    vo_sc.insertRow(rs);
    vo_sc.getDBTransaction().commit();
    Note: the Detail iterator used here is the one under the master in the AM

    In case your model defined a view link from master to detail should try to get the detail iterator from the master and use this to create the new row.
    Row r=vo_pr.createRow();
    r.setAttribute("Name", name);
    Number num =(new oracle.jbo.server.SequenceImpl("new_seq",vo_pr.getDBTransaction())).getSequenceNumber();
    r.setAttribute("Id",num);
    vo_pr.insertRow(r);
    // this method gets the detail iterator for the master row you just created.
    // The name of the method depends on the view link in your model you expose to the master view
    Row rs=vo_pr.getDetail().createRow();
    rs.setAttribute("iddetail",iddetail);
    rs.setAttribute("Name", Name);
    // this value should be added by the framework
    //rs.setAttribute("id",num);
    vo_sc.insertRow(rs);
    vo_pr.getDBTransaction().commit();Timo

  • When I updated Iphone software and synchronized with MacBook, newest calendar entries were deleted. Other experiences with this? If so, how do I prevent this? I have Iphone 3G

    On at least 2 occasions, when I updated Iphone software and synced with MacBook, my newest calendar events were deleted. The information in Ical and on IPhone reverted to an older version of events instead of defaulting to the new information. I know of at least 1 other person who experienced this; is this a common occurrence? What is the reason for it and the remedy? How do I prevent this from happening in the future?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Message when INSERT/DELETE table

    hi Experts!!
    i am working on a screen in which i  have some Alv DISPLAY OF ATABLE AND WHEN I INSERT OR DELTE FROM THE TABLE, immdiate after insert or delte i need to display a message with sy-dbcnt detail.. for this
    i have creeted a screen to and taken i/p o/p fields in that naming variable for same INSIP and passing the valus eo sy-dbcnt to that field in screen PBo. but i am not getting the Sy-dbcnt values.
    but when i debug i get the value in the Variable INSIP but not dispaling when i run it..plz help me soooon
    please help me wats wrong..
    thank you

    hI,
    After u press save button u r updating the table..so after that statement u write the seelct quuery
    Update ztable.
    select count * from ztable into v_count.
    if sys-subrc eq 0.
    give message with v_count.
    endif.
    Rewrad if helpful.
    Regards,
    Nagaraj

  • Different number of rows when add/delete the same table

    Hi,
    i've a problem in a select statement.
    My database is a 9.2.0.8.
    select *
    from  tab1 t1,
            tab2 t2,
            tab2 t3
    where t1.id_c1 = 1
       AND t1.id_c2 = t2.id_c2
       AND t1.id_c2 = t3.id_c2
       AND t2.id_init = 3693
       AND t3.id_init = 3892;
    936 rows selected.if i change the query in:
    select *
    from  tab1 t1,
            tab2 t2
    where t1.id_c1=1
       AND t1.id_c2 = t2.id_c2
       AND t2.id_init in ( 3693,3892);
    61132 rows selected.Any ideas? what's wrong??
    Tnx
    Edited by: 842366 on 10-ago-2011 3.10
    Edited by: 842366 on 10-ago-2011 3.10

    You can see the difference yourself with this sample test data.
    SQL> with t_data1 as
    select 1 as id_c1,2 as id_c2 from dual union all
    select 2 ,2 from dual
    t_data2 as
    select 1 as id_c2, 3693 as id_init from dual union all
    select 1, 3693  from dual union all
    select 1, 3892t from dual union all
    select 1, 3892 from dual union all
    select 2, 3693 from dual union all
    select 2, 3892 from dual union all
    select 2, 3892 from dual
    select *
    from  t_data1 t1,
            t_data2 t2
    where t1.id_c1=1
       AND t1.id_c2 = t2.id_c2
       AND t2.id_init in ( 3693,3892);
         ID_C1      ID_C2      ID_C2    ID_INIT
             1          2          2       3693
             1          2          2       3892
             1          2          2       3892
    SQL> SQL>
    SQL>
    SQL>
    SQL> with t_data1 as
    select 1 as id_c1,2 as id_c2 from dual union all
    select 2 ,2 from dual
    t_data2 as
    select 1 as id_c2, 3693 as id_init from dual union all
    select 1, 3693  from dual union all
    select 1, 3892t from dual union all
    select 1, 3892 from dual union all
    select 2, 3693 from dual union all
    select 2, 3892 from dual union all
    select 2, 3892 from dual
    select *
    from  t_data1 t1,
            t_data2 t2,
            t_data2 t3
    where t1.id_c1 = 1
       AND t1.id_c2 = t2.id_c2
       AND t1.id_c2 = t3.id_c2
       AND t2.id_init = 3693
       AND t3.id_init = 3892;
         ID_C1      ID_C2      ID_C2    ID_INIT      ID_C2    ID_INIT
             1          2          2       3693          2       3892
             1          2          2       3693          2       3892
    SQL> We see that in both the queries, the no. of column returned are different. In first it is 4 and in 2nd it returns 6.
    Now ask yourself, what is the use of this query, and how I am suppose to use the values returned and also what is the purpose for each value.
    Once you have the answers for these questions, the requirement becomes more clearer, doubts vanish and more often you can do things yourself.

  • Counting non-blank rows when calculating a cumulative number

    Hi
    I have tried the below formula and derivations of it (using counta, countax) in trying to create a cumulative number that does not count blank cells/records.
    Every variation I try however still counts blank cells/records. Does anyone have any ideas?
    =CALCULATE(count(s9JudgeFTC[entity_id]),FILTER(ALL(s9JudgeFTC[ExitMonthCategory]),s9JudgeFTC[ExitMonthCategory] <= MAX(s9JudgeFTC[ExitMonthCategory])),s9JudgeFTC[reentry]=1)
    Paul

    Hi Paul,
    use "&&" to add filter arguments:
    =CALCULATE(count(s9JudgeFTC[entity_id]),FILTER(ALL(s9JudgeFTC[ExitMonthCategory]),s9JudgeFTC[ExitMonthCategory] <= MAX(s9JudgeFTC[ExitMonthCategory])
    &&  NOT(ISBLANK([entity_id])),s9JudgeFTC[reentry]=1)
    Imke

  • Windows XP see blank screen when remote desktop to Windows 7 with fast user switching disabled

    All computers are in workgroup environment, no AD.
    Windows 7 pro are configured with fast user switching mode disabled so that only one login session can run at a time. When a Windows 7 machine remote desktop to another Windows 7 machine, the remote desktop 'server' will give 30 seconds count-down for the
    console logged in user to accept remote connection, or when timeout expires it kicks out the console logged in user. This is completely ok.
    This become a problem when a Windows XP rd client try to remote desktop to these Windows 7 machines, Windows XP see a blank screen if the remote Windows 7 machine has a user logged in, as it is waiting for the user to log off first. This is not desirable
    as our administrators want the console session to be logged out automatically if they (administrators) want to remote desktop in.
    Is this a configuration problem? Is this a OS design, can't be changed?
    Valuable skills are not learned, learned skills aren't valuable.

    Hi,
    As I know, for RDP session in Windows 7, you don't need to configure the fast user switch option disabled. Windows 7 doesn’t support multiple Remote Desktop sessions by design, that means only one RDP session at a time.
    I remote into my Windows 7 machine (which has a user logged in) from my XP machine, all work fine, the user logged in Windows 7 machine is automatically "kicked off".
    May I ask a question? Does this issue happen in all XP machines? If you leave Windows 7 machine started and no user logged in, the RDP session in Windows XP established quickly?
    I would suggest you keep latest drivers graphic card and latest updates paches for both Windows XP (Windows XP has come to its end of the lifecycle)and Windows 7.
    Yolanda Zhu
    TechNet Community Support

  • Performance issue when inserting into spatial indexed table with JDBC

    We have a table named 'feature' which has a "sdo_geometry" column, and we created spatial index on that column,
    CREATE TABLE feature ( id number, desc varchar, oshape sdo_gemotry)
    CREATE INDEX feature_sp_idx ON feature(oshape) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    Then we executed the following SQL to insert about 800 records into that table(We tried this by using DB visualizer and
    our Java application, both of them were using JDBC driver to connect to the oracle 11gR2 database) .
    insert into feature(id,desc,oshape) values (1001,xxx,xxxxx);
    insert into feature (id,desc,oshape) values (1002,xxx,xxxxx);
    insert into feature (id,desc,oshape) values (1800,xxx,xxxxx);
    We encoutered the same problem as this topic
    Performance of insert with spatial index
    It takes nearly 1 secs for inserting one record,compare to 50 records inserted per sec without spatial index,
    which is 50x drop in peformance when doing insertion with spatial index.
    However, when we copy and paste those insertion scripts into Oracle Client(same test and same table with spatial index), we got a totally different performance result:
    more than 50 records inserted in 1 secs, just as fast as the insertion without building spatial index.
    Is it because Oracle Client is not using JDBC? Perhaps JDBC was got something wrong when updating those spatial indexed tables.
    Edited by: 860605 on 19/09/2011 18:57
    Edited by: 860605 on 19/09/2011 18:58
    Edited by: 860605 on 19/09/2011 19:00

    Normally JDBC use auto-commit. So each insert can causes a commit.
    I don't know about Oracle Client. In sqlplus, insert is just a insert,
    and you execute "commit" to explicitly commit your changes.
    So maybe this is the reason.

  • When I deleted and then recreated the same account all the emails are now gone. Where did they go?

    I was having problems with getting mail from my verizon email account. Suddenly stopped working when checking mail. Sending was fine. No server settings were changed. So as a last try before the nightmare of finally giving up on them I deleted the account and then set it up again. I now get the emails but all the old ones are gone. Where did they go?
    I've read all the posts about the verizon smtp ssl issues but this (the missing emails that were alreadiny in thunderbird) seems to be a TB question.
    Any help would be very much appreciated.
    Jack

    Hei,
    so i hope that was the problem.
    I advice you to check the solution from christ1.
    After that try the solution with the login on the webinterface.
    I wish you, that one of this is successfull.
    Greets

  • Page change the current row when concurrent users press save in the same ti

    I have a problem that appear only when a lot of users are running at the same time
    that I have an editable form that have save button some times when I press save the current row that I edit is changed or return null row.
    for example imagine that I edit employee that has Id = 50 when a lot of users running on the application at the same time when I press save the record changed to another employee that has id = 49 or returns empty form
    in my code for save I call application module method that have code similar to this
            myViewRowImpl viewimpl =
                (myViewRowImpl )getMyView().getCurrentRow();
            getDBTransaction().commit();I build my ADF fusion web application using ver 11.1.1.3

    Hi,
    sounds like a passivation problem.You can also try and change the AM pool size.
    Read up here:
    http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcservices.htm#sthref873
    http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcampool.htm#sm0299
    Frank

Maybe you are looking for

  • Itunes on windows vista crashes after upgrading to itunes 10.2

    can someone help me please...I'm running windows vista 32bit and after i upgraded to itunes 10.2, my itunes won't start and i have this error.. any help will be very much appreciated.. thanks in advance.. Problem Event Name: BEX Application Name: iTu

  • Column is not fetching the data

    This is one of the column in the insert statement which inserts the value to om_flag when i execute the procedure error is too many values (select third_party_flag from sfa_order_extended soe,sfa_order_booked sob,rep_admin.oe_order_headers_all f wher

  • I hate this update. How do I get back to my familiar homepage?

    How do I get back to my familiar homepage, with readable fonts and larger type? I believe this has been done with an upgrade forced on my computer and it is most horrible. I may have to quit using Firefox if I cannot resolve this stupid upgrade.

  • Should I auto update iTunes and Quicktime?

    the System update asks me to update iTunes and Quicktime but I think the versions are incompatible to this version. This computer is old dog slow. Would it be slower if i upgraded to the latest OS? Is it even possible. Thanks. Will

  • Using a column twice in a dashboard prompt -- multi-select and wild-carding

    My client is using OBIEE 10.1.3.2; they cannot upgrade at this time. However, they want to be able to enter both a list of values and a wild-card search for additional values at the same time for a single column in a dashboard prompt. Since they cann