Issues with Advance Table Add Row New Row not work in some scenarios.

Hi,
Wondering if there's any issue with Advanced Tables where it does not create any rows. I don't know if anyone tried this or not. I have one OA Page with Advanced Table and a button that when clicked open a new OA Page in a POP-UP Window. The pop-up page conatins one textbox where u enter a data and this gets saved in one of the VO's transient attribute. Now on the ase page if you don't click a button to open a pop-up page you can Add New Rows in the Advanced Table by clicking Add Row Button. But as soon as you open a popup window and close it Add New Rows button doesn't work and is not creating any new rows. Basically page stops working. Both the POP-UP and the base page share the same AM but have different controllers.
POP-UP page is a custom page that I open giving the Destination URI value in the button item and target frame _blank.
I even tried creating rows programmatically for Advance Table but this too doesn't work once u open a pop-up. Also I have used pageContext.putTransactionValue in the pop-up page and am checking and removing this in the base page.
Any help is appreciated.
Thanks

anyone

Similar Messages

  • Urgent::Issue with advanced tables....

    Hi
    i am new to OA framework
    i have view instance (associated with a custom table..i want to insert data into this table using advanced table)with X view attributes..
    among them one is primary key.i set that using a sequence value..
    rest all.. i made them as columns of an advanced table..
    two among the above are form values..
    now i added a footer for adding a row in advanced table region...
    when i click on the add another row ...i am getting this error...please check it...i am stuck here since long time..
    Error: Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page data:
    * Your login session has expired.
    * A system failure has occurred.

    i added this code in my controller....
    if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))) {
    am.invokeMethod("createRecordInv");
    and in my am i wrote this..
    public void createRecordInv()
    try
    ARTransactionLineVOImpl vo = getARTransactionLineVO1();
    if (!vo.isPreparedForExecution())
    {   vo.executeQuery();     }
    if (vo != null)
    vo.setMaxFetchSize(0);
    ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
    if (vo.getFetchedRowCount() == 0)
    vo.insertRow(row1);
    else
    { vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    OADBTransaction transaction = getOADBTransaction();
    Number CdArScheduleId = transaction.getSequenceValue("CLE_CD_CASH_DOC_AR_INVS_ALL_S");
    ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.getCurrentRow();
    TransDetailsVORow.setCdArScheduleId(CdArScheduleId);
    catch(Exception ex)
    { ex.getMessage();  }
    i am getting NULL POINTER EXCEPTION.....
    i set some of the values in advanced table prgramatically later using PPR...
    is it ok....
    just look into this n let me know if im wrog some where....

  • Multiple OS issues with Email set up; "People" ; Synching phone not working as advertised

    Nokia Lumia 822
    Purchased yesterday (2/10/13)
    So far I have spent 14 hours attempting to resolve what feel like endless errors and bugs. If I can;t get these resolved in the next 48 hours the phone goes back. I am so disappointed  I waited especially for this phone - heard great stuff. My experience is it sucks. Worst phone ever.
    1) POP3 email accounts are non functional. I have attempted to set up and delete and re-set up now multiple times. Each time presents a fresh new nightmare.
    Issue 1 - Email account  receives email but will not send. Error message goes something like  <" Problem sending message. Message failed to send. Problem with Files or Data on your device." >
    Issue 2 - Tapping email + accounts sends me back to start screen cannot even set up account
    Issue 3 - I  get to add email account I enter my information but no account is created
    Issue 4 - I set up an account and I get an error message stating my information cannot be found.
    Issue 5 - trying to open email from start screen just resets to start screen  over and over and over NEVER opens the account.
    These are deal breaker issues. I have multiple email accounts on different platforms. If I cannot access my various emails AND send from those accounts this is NOT the phone for me.
    2) PEOPLE does not function. ALSO multiple various issues and never the same one twice.
    Issue 1 - I tap on a contact and get sent to the start screen over and over and over  and over again.
    Issue 2 I tap on a contact and the phone freezes and wont respond unless I pull the battery
    Issue 3 I open a contact and make an edit, save the contact but the change is never reflected in the list
    Issue 4 I try and search for a contact and the search freezes - only option is to return to start screen
    3) Scrolling thru any APP randomly takes me back to start screen.
    I dread attempting to synch Outlook calendar and contacts on my PC to hotmail - especially if I can't even set up email. And it seems like even holding it will jettison me out of anything I'm doing and back to start screen.
    If I can't get these issues resolved.  look like I'll be going  back to my 3 year old Blackberry Bold which performed flawlessly. It may not be the most impressive phone out there but it did what I needed it to do with out any issues.

    Interesting Twitter conversation VZWSupport on Twitter.  It was suggested to try a HARD reset - and if that doesn't work take the phone back.
    Since I don;t have anything set up yet  that's my solution.
    I see a BlackBerry Z10 in my future

  • I am having issues with parts of my Facebook news page not showing and games not running.

    For the last three days, I have been having issues running Facebook on Firefox. First, the side panels on the news page are not showing, which means I cannot connect to games like Farmville or Bejeweled Blitz. Those side panels were showing the previous two days, but when trying to connect, I had a message about the secure setting and I would get the message "you are no longer logged onto FB, connect to FB to play".

    Try clearing cache and cookies. Next make sure your plug-ins are up to date. If both do not resolve you issue try [[Safe mode]]
    If you issue is resolved by this post please click Solved it! so we can assist others.

  • Macro error with BI Publisher Add-In: exd removal not working

    I'm running into the 'macro not found' error as of today with the Oracle BI publisher desktop add-in for Word. Using Word 2007...everything worked fine yesterday, computer did an update overnight.
    I tried the old methods of closing Word, locating .exd files on my hard drive, renaming them, and then restarting Word. Still running into the same issues. Has anyone else started to experience this today?
    exd files are being generated after the above process to AppData\Local\temp\vbe (2 files: MSComctLib.exd and MSForms.exd)

    Hi I was also running with exact problem, and running on this issue for 1.5 days with all regular work around.
    However below steps resolved my issue.
    1. Uninstalled the old version of BI.
    2. Taken latest version Oracle BI Publisher Desktop via OTN (http://otn.oracle.com/ ) which is 11.1.1.6 [ I took 32 bit version as my MS Word  is 32 bit version].
    3. Renamed the *.EXD %USERPROFILE%\Local Settings\Temp\VBE as *.EXD_OLD
    4. Installed the latest version of BI Publisher Desktop, in admin mode.
    With out any other work around its working.
    Thanks!
    P.Ranish
    Edited by: user781215 on Aug 23, 2012 6:27 AM

  • Help with ipod classic 80gb 2nd new ipod not working

    I need some help with my ipod, this is the second ipod I have had in the same number of weeks the first one worked fine for about 8 days and then when syncing one night it froze and then would not disconnect, I searched the support section and worked how to reset the ipod which | did many times, in the end I restored the ipod to the factory settings and synced again the end result of this was that the ipod would not turn on despite everything that I tried. The apple log would appear and the ipod would then try desperatley to switch itself on with the apple logo appearing and disappering all the time. Apple have replaced the ipod and I have fully charged the new ipod synced it this evening all was ok, the ipod synced and then told me to disconnect and the same thing is happening again I have tried to reset multiple times and all that happens now is the apple logo appears and disappers it will not switch on or off, itunes keeps telling me that it cannot recognise the ipod at this time and the safely remove section on my task bar on my computer is telling me that the ipod has malfunctioned. can anyone help? am I doing something wrong someone suggested that I should have downloaded itunes once I had my ipod and not before, I have about 20GB of music in itunes and I was not aware that you needed to use or own an ipod to use this music storage system
    HELP
    Thanks in anticipation

    well it looks like you might have a tech issue here; try to return the ipod and choose a different store and buy one ... also try to uninstall itunes totally, back up your songs on a CD or DVD, and then re-install a fresh new copy of itunes ... this might work ... good luck!

  • Has anyone else had issues with the serial number listed under MyAdobe not working?

    Trying to re-install CS4 to work on something, and when I downloaded the installer and unpacked it, it rejected the serial number listed on my MyAdobe page for the CS4 Master collection. Is there another number somewhere I should be entering or something?

    IF you are sure you are downloading the correct suite, you need to contact Adobe Support either by chat or via phone when you have serial number and activation issues.
    Here are links to a page with options to help make contact:
    Serial number and activation support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html
    http://adobe.ly/1aYjbSC

  • Having issues with your Card Readers in Windows 7 not working? Here's resolution!

    You do not need drivers for the card reader. There are NO Windows 7 drivers.
    (1.) Click on the Start button and then choose Control Panel.
    (2.) Click on the Administrative Tools a window will open.
    (3.) In the Administrative Tools window, double-click on the Computer Management
    (4.)  When Computer Management opens, click on Disk Management on the left side of the window, located under Storage. 
    (5.) This is where you will see Drives listed. The Card Reader will be listed as 1-4. Just right click & assign Drive Letter.
    Right click on each of the drives 1-4 and assign a Drive Letter. Now place your SD card in the correct slot and an a pop up for auto play will show. Now you reader works and will also show when you open COMPUTER it will show them as removable drives with proper drive letters. It took me several days to figure out after no help from HP or internet search. So when found the drives listed I just right clicked saw assign drive and it worked. Hope a lot of people searching on internet find this reply so that it will help them get there card reader working again under Windows 7 because even there tech's don't have an answer. Well good luck because this will work!!!

    owj wrote:
    I followed the steps but did not see drive 1, 2, 3, 4.  I see C; Jbackup drive, D: CD/DVD.  I'm still not able to get the card reader to recognize an inserted card.
    HP notebook 10''
    I'm having trouble with my card reader. I been thro steps mentioned in HP forum but only C:drive is listed .
    I had a problem with the hard drive earlier this year had to reinstall windows 7home premium from a disc unable to activate system restore.
    Ian Barrow

  • TS1277 I've followed these steps to fix this issue with windows vista but it's still not working...any other ideas to fix this?

    little help?

    I've followed all the Apple support steps   
    Uninstalled &amp; reinstalled iTunes  
    Tried to change all my permissions &amp; deleted re-added users  
    I keep getting this message when ever I open iTunes:
    "The folder iTunes is on a locked disk or you do not have write permission for this folder".

  • Trying to automatically add a new row w/o mutating table error...

    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );

    mookjais wrote:
    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );Do you mean following(example)?
    create trigger after_insert_e
    after
      insert
    on  e /*This is table name*/
    referencing new as new old as old
    for each row
    begin
    insert into  ER(e_Id,SC,rdd,rc)
    values(:new.ed_id,sysdate,sysdate,sysdate);
    end;

  • Add a new row at the top of a table in GUI

    Hi,
    I am using JDev 11.1.1.1.0. I need to be able to let users add a new row at the top of a table and not anywhere else in the middle of table rows. I cannot seem to find a way to do it. note that it does not matter where a new row gets inserted in the db, i am only concerned about restricting the insert in the GUI to the topmost line/row.
    Thanks,
    AJ

    Hi
    Can you try with writing your custom create method in application module and calling same from UI on command button action like
    public void createNewRow()
    ViewObjectImpl vo = getVO1();
    Row newRow= vo.createRow()
    vo.insertRowAtRangeIndex(0, newRow);
    Vikram

  • Need to add a new row at the end of the table

    Experts,
    working jdev 11.1.1.3.0
    i am adding row programetically, my requirement need to add the row at after last row.
    i tried different ways.
    Row newLastRow = getPWBBidLaneVO().last();
    int lastRowIndex = getPWBBidLaneVO().getRangeIndexOf(newLastRow);
    getPWBBidLaneVO().insertRowAtRangeIndex(lastRowIndex - 1,
    laneRow);
    this is giving --- java.lang.ArrayIndexOutOfBoundsException: 0
    and
    http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html --- its giving index out of bound because vo.getRangeSize() is 25. We set this value at vo for performance improment suggestions.
    is there a way to add a new row at the end of the table?

    Add this to the view row impl class
           public void insertRow(Row row) {
               //go to the end of Rowset if it has rows
               Row lastRow = this.last();
               if (lastRow !=null){
                    //insert new row at the end and make it current
                   int indx = this.getRangeIndexOf(lastRow)+1;
                   this.insertRowAtRangeIndex(indx,row);
                   this.setCurrentRow(row);
               }else { // empty Rowset
               super.insertRow(row);
               }

  • How do I add a new row to an AbstractTableModel?

    I'm having an issue with adding new data to a table row. Every row I add contains the same data which is always the last data I grabbed from my database. I'm not sure if my issue has to do with how I set up the data to be passed or the table itself or both... Any help would be appreciated. It seems like the tablemodel is holding the memory spot ArrayList I'm passing. If I have to set up an arraylist of arraylists, to pass how do I do that?
    My output is always:
    1,4,Laser,10,120,100
    1,4,Laser,10,120,100
    1,4,Laser,10,120,100
    1,4,Laser,10,120,100
    Desired output:
    1,1,Beam,10,99,100
    1,2,Canon,10,120,100
    1,3,Missile,10,66,100
    1,4,Laser,10,120,100
         * Extract weaponIDs by hullType from weapon database
    private void setWeapons(int hullType){
    // equpModel is the tableModel
        equipModel.clearTable();
        Weapon tempWeapon = new Weapon();
        ArrayList newData = new ArrayList();
        for (Iterator <Weapon> i = dataBaseManager.weaponList.iterator(); i.hasNext(); ){
            tempWeapon = i.next();
            if (tempWeapon.weaponClass == hullType){
                newData.add(0,1);
                newData.add(1,tempWeapon.weaponID);
                newData.add(2,tempWeapon.weaponName);
                newData.add(3,tempWeapon.weaponCps);
                newData.add(4,tempWeapon.weaponMass);
                newData.add(5,tempWeapon.weaponCost);
                equipModel.insertRow(newData);
    }Here is a snipet from the table class
    public class GenTableModel extends AbstractTableModel {
      private ArrayList data; // Holds the table data
      private String[] columnNames; // Holds the column names.
       * Constructor: Initializes the table structure, including number of columns
       * and column headings. Also initializes table data with default values.
       * @param columnscolumns[] array of column titles.
       * @param defaultvdefaultv array of default value objects, for each column.
       * @param rowsrows number of rows initially.
      public GenTableModel(String[] columns, Object[] defaultv, int rows) {
        // Initialize number of columns and column headings
        columnNames = new String[ columns.length ];
        for(int i = 0; i < columns.length; i++) {
          columnNames [ i ] = new String(columns [ i ]);
        // Instantiate Data ArrayList, and fill it up with default values
        data = new ArrayList();
        for(int i = 0; i < rows; i++) {
          ArrayList cols = new ArrayList();
          for(int j = 0; j < columns.length; j++) {
            cols.add(defaultv [ j ]);
          data.add(cols);
       * Adds a new row to the table.
       * @param newrowArrayList new row data
      public void insertRow(ArrayList newrow) {     
        data.add(newrow);
        super.fireTableDataChanged();
       * Clears the table data.
      public void clearTable() {
        data = new ArrayList();
        super.fireTableDataChanged();
    }

    Hi thanks again for responding
    Here is the Initialization, including the panel and scrollpane it sits on.
          // Table attempt
            JPanel tablePanel = new JPanel(new BorderLayout());
            tablePanel.setBounds(PANEL_X+2*PANEL_DISTANCE, PANEL_Y, PANEL_WIDTH+300, PANEL_HEIGHT);
            title = BorderFactory.createTitledBorder(blackLine, "Table List");
            tablePanel.setBorder(title);
    // This is column tile plus one dummy initilization set.
            String[] columnNames = {"DB", "ID", "Name", "CPS", "Energy", "Mass", "Cost"};
            Object[] data = {new Integer(0),new Integer(0), "Empty", new Integer(0),
                        new Integer(0),new Integer(0),new Integer(0)};
    // here is the GenTableModel creation
            equipModel = new GenTableModel(columnNames, data, 1);
            equipmentTable = new JTable(equipModel);
            equipmentTable.setRowSelectionAllowed(true);
            equipmentTable.setFillsViewportHeight(true);
            equipmentTable.setColumnSelectionAllowed(false);
            TableColumn column = null;
            column = equipmentTable.getColumnModel().getColumn(0);
            column.setPreferredWidth(20);
            column = equipmentTable.getColumnModel().getColumn(1);
            column.setPreferredWidth(20);
            JScrollPane scrollPane = new JScrollPane(equipmentTable);
            tablePanel.add(scrollPane);
            add(tablePanel);
        Here is the full code for GenTableModel. It is as you guessed.
    public class GenTableModel extends AbstractTableModel {
      private ArrayList data; // Holds the table data
      private String[] columnNames; // Holds the column names.
      public GenTableModel(String[] columns, Object[] defaultv, int rows) {
        // Initialize number of columns and column headings
        columnNames = new String[ columns.length ];
        for(int i = 0; i < columns.length; i++) {
          columnNames [ i ] = new String(columns [ i ]);
        // Instantiate Data ArrayList, and fill it up with default values
        data = new ArrayList();
        for(int i = 0; i < rows; i++) {
          ArrayList cols = new ArrayList();
          for(int j = 0; j < columns.length; j++) {
            cols.add(defaultv [ j ]);
          data.add(cols);
      public int getColumnCount() {
        return columnNames.length;
      public int getRowCount() {
        return data.size();
      public String getColumnName(int col) {
        return columnNames [ col ];
      public Object getValueAt(int row, int col) {
        ArrayList colArrayList = (ArrayList) data.get(row);
        return colArrayList.get(col);
      public Class getColumnClass(int col) {
        // If value at given cell is null, return default class-String
        return getValueAt(0, col) == null ? String.class
                                          : getValueAt(0, col).getClass();
      public void setValueAt(Object obj, int row, int col) {
        ArrayList colArrayList = (ArrayList) data.get(row);
        colArrayList.set(col, obj);
      public void insertRow(ArrayList newrow) {     
        data.add(newrow);
        super.fireTableDataChanged();
      public void deleteRow(int row) {
        data.remove(row);
        super.fireTableDataChanged();
      public void deleteAfterSelectedRow(int row) {
        int size = this.getRowCount();
        int n = size - (row + 1);
        for(int i = 1; i <= n; i++) {
          data.remove(row + 1);
        super.fireTableDataChanged();
      public ArrayList getRow(int row) {
        return (ArrayList) data.get(row);
      public void updateRow(ArrayList updatedRow, int row) {
        data.set(row, updatedRow);
        super.fireTableDataChanged();
      public void clearTable() {
        data = new ArrayList();
        super.fireTableDataChanged();
    }

  • How can I add a new row in a JTable dynamically?

    Dear Sir(s)
    I want to add a new row in a Jtable as I press enter key the time focus is on the last cell of the row? pls help

    TomDooley wrote:
    Hello,
    ...I write directly to a cvs file ...my loop slows down to 0.2 Hz
    Writing a series of 5 values to a file should not take so long. There is probably something wrong in the way you are saving your data. May be you should post a simplified version of your vi, so we could see how to improve your code.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Add a new row in Detail form in MASTER DETAIL FORM

    Hello Everyone,
    I need help on the following.I have master detail form .In detail form i have Add Row button which adds a new row and i have save button to save the record .But now if i am adding a row its not adding a new row .It says it process but didn't show the new row .
    Can somebody help me on this
    thanks in advance

    Hello,
    How many records do you show in your detaii region and how many are there for that master? Maybe the new row is in the next set of records - or at the 'bottom' of the last set of records?
    Did you check if the row is inserted in the database (and just didn't show up for one reason or another)?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

Maybe you are looking for

  • Read filenames from jar-file

    Hi, I want to read image names in a jar-file directory in a web start application. This used to work in previous versions of jdk, but when I use jdk 1.6.0_20 I get this errormessage: "http:\server:8080\test\client.jar The filename, directory name, or

  • PreferredPort partner link property

    Does anyone know how the preferredPort partner link property (page 1-40 Oracle SOA Suite Best Practices Guide) work??? I have a service with two ports and one of them is not working properly. Unfortunately BPEL is always trying to use the non working

  • Window Machines autheticating to Mac OS X computers when they shouldn't

    I have a semi large network that has a Linux machine with Samba, and uses that to authenticate domain logins & shares on the network. However some Windows machines seems to want to authenticate to a Mac OS X computer instead of the Linux Samba machin

  • SBSH Calendar Pro public beta released - available for free download!

    Hi all! We've just released our first version of SBSH Calendar Pro, initially released today as public beta and available for free download to all users!  In a nutshell, the goal of Calendar Pro is to offer a powerful personal information manager (PI

  • For CS2 - Unwarping a photographed 8.5x11" page

    For CS2 How do I take a photographed 8.5x11" page that is not symmetrical in the photo and "unwarp" it so that it fits properly into an 8.5x11" image? Please help with clear instructions.  I'm not a PS newbie, but I suspect this will have a lot of va