Going to the last page of a table when adding a new object

I added a Table(com.sun.rave.web.ui.component.Table) on my page and a button outside of that table to add new object rows. My problem is that I want the table to move to the last page when I add a new object. Instead the default bahaviour is showing the first page. Even if the newly added row is on a page > page 1.
e.g If I have a table with 5 pages and I am on page 1 and I add an object I want to see the last page of the table where I added the new object. In other words I want it to go to page 5 or page 6 in case the number of the new object is > the number of displayable rows of a page.
I did it with Javascript but I just dont like it. I wanna do it programmatically.
Any help?
Thanks in advance guys!!!

Hi!
Try to look here:
http://forum.java.sun.com/thread.jspa?threadID=5142038&tstart=45
Thanks,
Roman.

Similar Messages

  • Firefox no longer loads home page or deletes cookies. I have repeatedly checked both settings and they are correct. It always goes to the last page I was on when I closed the browser ..

    Firefox no longer loads home page or deletes cookies. I have repeatedly checked both settings and they are correct. It always goes to the last page I was on when I closed the browser .

    Go to '''TOOLS''' then''' OPTIONS''' then in '''GENERAL''' panel in '''STARTUP '''session choose '''Show my home page''', then click '''OK''' to save it, exit firefox and restart-it.
    see for more info: [https://support.mozilla.org/en-US/kb/Options%20window%20-%20General%20panel Options window - General panel]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • When launching firefox, it no longer goes to my homepage. It goes to the last page visited while on line! Help??

    When Launching Firefox it used to automatically go to my homepage! It no longer does, it goes to the last page visited on the web!
    == This happened ==
    Every time Firefox opened
    == it just started a few days ago!! Not sure why!

    Check
    Tools > Options > General > When Firefox starts ....

  • I have Firefox configured so that it should go to my homepage when started, but it takes me to the last page I was at when closed. This started with the crappy new version. Help!

    I recently upgraded to the newest version of Firefox - which I hate! My problem is that I have it configured to go to my home page when started, but instead it keeps going to the last page I was on. How do I fix that.

    dplum12
    What computer operating system is your Premiere Elements 12 running on? Did you have the opportunity to update 12 to 12.1 Update yet using an opened project's Help Menu/Update? If not, please do so when you get the opportunity.
    For now I will assume that your computer is Windows 7, 8, or 8.1 64 bit. Please try the following suggestions to overcome your Premiere Elements Sign In issue.
    http://www.atr935.blogspot.com/2014/04/pe12-premiere-elements-12-editor-will.html
    and, if you get any messages about Internet connect and the computer clock, please review the following
    http://www.atr935.blogspot.com/2014/04/pe12-sign-in-failure-connect-to.html
    Please let us know the outcome.
    Thank you.
    ATR

  • I don't want to print the last page of a smartform when there is no content

    I don't want to print the last page of a smartform when there is no content. Kindly help

    If the last page is printed, there are two possibilities
    -1- The MAIN WINDOW is only in this page
    -2- The page is explicitly printed from another page (new-page)
    -3- There is date but its only space or skip line.
    So in your form
    -1- Redefine the logic of your form
    -2- Check that, there are some data to be printed before calling the NEW-PAGE
    -3- Do skip or write space lines before printing an actual line and not after
    Regards

  • Jumping to the last page of a table

    Hi there,
    At the moment, if you add a new row using dataProvider.appendRow(), on a table with multiple pages of rows, you may not be able to see the newly added row. This happens when the row is added to the last page,while you are still looking at the first.
    Does anyone know a way to make the table jump to displaying the last page?

    I had the same question before but with no answer. But after digging several post, I've solved it. Use the tableRowGroup.setFirst() like this:
    RowKey rk = xxxDataProvider.appendRow();
    xxxDataProvider.setCursorRow(rk);
    int rowid = Integer.parseInt(rk.getRowId());
    tableRowGroup1.setFirst(rowid);
                    This will automatically make the table to jump to the last page.

  • When I close the browser and then re open it it does not go to the home page but opens to the last page that was open when I close it.

    Every time We have been closing the browser for the last few days when we restart the browser, regardless of weather we shut down the computer or not, it reopens to the last page that was opened. I cleared out and deleted the history but it did not help.

    Maybe you currently have your home page setting to "Show my windows and tabs from last time" instead of "Show my home page".
    *Firefox button > Options > Options > General tab > Startup > "When Firefox starts"
    *If using the Menu Bar: Tools > Options > General tab > Startup > "When Firefox starts"
    *See --> [http://support.mozilla.com/en-US/kb/How+to+set+the+home+page How to set the home page]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How do I prevent the last page I visited reopening when I launch safari?

    How do I prevent the last web page I visited reopening when I launch safari?

    Hello:
    Go to system preferences>general and check "close windows when quitting an application."
    Barry

  • Home page won't load on start up it goes to the last page it was on before the shut down.

    It started just recently where I exit FIrefox and then restart it either after the computer has rebooted or closed by accident, it always brings back the tabs and pages I was on at the time of shut down. I have looked on here and tried what others have been told and nothing worked. I would like to not have to uninstall firefox but I will if I have too. Any help would be greatly appreciated.

    You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.
    *http://kb.mozillazine.org/browser.sessionstore.resume_session_once
    *http://kb.mozillazine.org/user.js_file
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    The user.js file is only present if you or other software has created it, so normally it wouldn't be there.
    You may want to check its content with a plain text editor if you didn't create this file yourself.
    The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so involved preferences can only be changed temporarily for the current session.

  • How to set a default value in an ADF table when adding a new row

    Hi Guys,
    I have a view object which I am using to create an ADF table. I also have a button which uses a CreateInsert binding to add a new row to the table. I have four fields: created_by, creation_date, last_update_by and last_update_date.
    I want these values to be set automatically when I click add new row.
    The values I want are:
    created_by - admin
    creation_date - sysdate
    last_update_by - admin
    lsat_update_date - sysdate
    Any suggestions on how to do this would be appreciated
    Thanks
    -Mark

    mark,
    Those four fields can be set completely declaratively in the Entity Object (check out the History Colum feature). Copied from the (11g) documentation:
    If you need to keep track of historical information in your entity object, such as when an entity was created or modified and by whom, or the number of times the entity has been modified, you specify an attribute with the History Column option selected (in the Edit Attribute dialog).
    If an attribute's data type is Number, String, or Date, and if it is not part of the primary key, then you can enable this property to have your entity automatically maintain the attribute's value for historical auditing. How the framework handles the attribute depends which type of history attribute you indicate:
    * Created On: This attribute is populated with the time stamp of when the row was created. The time stamp is obtained from the database.
    * Created By: The attribute is populated with the name of the user who created the row. The user name is obtained using the getUserPrincipalName() method on the Session object.
    * Modified On: This attribute is populated with the time stamp whenever the row is updated/created.
    * Modified By: This attribute is populated with the name of the user who creates or updates the row.
    * Version Number: This attribute is populated with a long value that is incremented whenever a row is created or updated.
    John

  • When i open my browser it does not go to the home page but the last page that I was on in my previous internet session. whats going on here?

    Ok so I open my Firefox browser but when it opens it does not go to the homepage. It goes to the last page I visited in my previous internet session. My homepage is www.imdb.com but lets says I go to www.facebook.com and then i close the window; if I reopen firefox it will go to the facebook page and not the homepage. This happens all the time and it even happens after I restart the computer. It always goes to the last page I visited. Like this page for example where I posted a question. Once i close firefox, and then open it again, it will come to this page and not the homepage. Is this supposed to happen? It started happened a few weeks back. I reinstalled it and it still happens. thanks.

    Hi eaglerabbit,
    This is a pretty easy fix. Just go to ''Tools > Options > General'' and change the preference for what Firefox should do on startup. You probably have it set to load tabs and pages from your previous session.
    If that doesn't work, you should look at the Knowledge Base article [[Preferences are not saved]].
    Hopefully this helps!

  • Move ALL duplicate ideas to the last pages of this forum

    There are a ridiculous amount of duplicate ideas in this forum because most people don't take the time to check if their idea has already been posted.  This makes it extremely difficult to sort through newer/original ideas to vote on. 
    Can you filter any post marked as duplicate so that it goes to the last pages of the forum thus making it easier to see original ideas to vote on.

    Go here: http://www.apple.com/support/itunes/contact/
    Click on the big blue button and follow the prompts.

  • My opening page won't load the home page even though I set it to home page in preferences.  Instead it always opens to the last page I had when I last closed.  I'd like it to open to my home page.  I've tried dumping and reloading Safari, I have 5.1.2.

    My Safari 5.1.2 Just won't open to my home page even though I have it set in preferences.  It continues to open on the last page I was on when I last closed Safari.  What overrides my settings in preferences?

    I just purchased my first MAC after working on PC for the past 25 years and would like to know how to keep my safari program to be the full screen everytime I get into the app. I always have to click the two arrows to the top right of the safari program but on a PC it is always opened in full screen mode ??? and while I have you plugged in how do you make it so that the manu bar does not go away (hyernate??)
    Cheers

  • How to print grandtotal in table footer only in the last page in SMARTFORMS

    Hello Experts,
    How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
    What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
    /: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
    * V_SUM.
    /: ENDIF.
    I even tried this.
    /: IF &NEXT-PAGE& EQ 0.
    * V_SUM.
    /: ENDIF.
    but still it displays the grand total on all pages at table footer.
    How do i go for this experts.
    Regards,
    Ranjith N

    HI Nambiar,
    To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
    This grand total will be displayed after all the items and end of the main window.
    Footer in the table displays as the subtotals i.e on every page total is displayed..
    Regards,
    Sravanthi

  • Fixing table position on the template and printing on the last page

    Hi,
    I have a requirement where i need to print a table at a fixed position and at the last page.
    if there is a single page, then the said table should print at the bottom of the page ... if there are multiple line records, the records should print on the first page and second page till it completes ... and the table at the bottom ..
    even if there is a single line record, the table should be at a fixed position.
    how can this functionality be acheived ...

    clarify one question pls....
    For eg if there is only one record then the table should be in the bottom of the first page or in the fixed position in the second page.... b'cos as you told about multiple lines of records then it obviously comes in the bottom of the end page and will not be inthe fixed position...... right!!!
    Thanks
    PBV

Maybe you are looking for

  • How do I get toolbars for Mozilla in Windows 8? I can't print an email, save it to a document folder. FRUSTRATING!!!

    Where are the toolbars on Mozilla for Windows 8? There are no navigation, print, save as options. Have read several articles online, but when I right click on a blank space on a tab bar - no toolbar options show.

  • Unable to detect my AP TimeCapsule 3tb on windows 7 64-bit Ultimate

    Here is my setup Im from Denmark on a Danish ISP called Telenor I'm getting my internet via their modem a Technicolor TG788vn v2 On that i have a brand new AirPort Extreme setup in bridge mode to be able to relay connection without any issus. On this

  • Third Party Brush Issue

    I Installed Photoshop CS5 on my Computer. Went to a Third Party Obsidian Dawn Website I Dowmloaded Skin Texture Brushes. I Unziped the File to a Brush Folder. In the Brush Folder I Copied the Skin Texture Brushes.arb. Went to Drive C Left Click on It

  • What is the proper AppleCare part number...

    ...for the original 11" MBA? I have the option to purchase 2 different part numbers that are both for MB, MBA and 13" MBP. One is less expensive than the other. I can't seem to find any part number beyond the current one sold in the Apple Store. The

  • DOWN PAYMENT  IN MILESTONE

    Hi, I have done downpayment request in milestone billing by using billing type FAZ. But further milestone billing I need to billing with billing type F2. When I try to do with the first line items milestone, I get a zero billing document. Why this is