How to avoid the page to move up when I click the button on the Tableview?

Hi, EP fellows.
I currently have 3 tableViews and 1 header form set in one jsp page (I know, it may not be a good design to put three tableView in one jsp page.....but for the sake of avoiding client side eventing between each tableViews..I combined them into one jsp page). I set the Load/Navigation value to be URL. 
Here is the problem. Everytimes I click on the Navigation button (Up/Down) to navigate the tableView data to another page, the whole page will move up and away from the table that I navigating.
I know it is bacause the page get refreshed, and go to the first item of the page. In this case, how do I avaoid the page to move up and away form the tableView? As it is really look bad when user click on the button, they have to scroll back to the tableView they click.
Thanks for advices.
Kent

As far as i remember,this javascript function pops user a dialog to save a file:
javascript: document.execCommand('SaveAs','1',null);
But i m not sure will it pop up for pdf, just try to google javascript to save a pdf file.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How can I stop Firefox 34 from crashing when I click a button on the NOrton 360 toolbar??

    I have the latest Norton 360 and fully updated. Also have FF 34.05. After anywhere between an hour and 3 hours, clicking any of the Norton Toolbars buttons that open options and provide multiple log in options FF crashes and when I reopen it it brings up my old tabs and at the end it brings up the FF welcome screen. In the options, it changes my opening page to the Norton Welcome page and the option to open previous tabs which was there with open default site which now it the welcome screen. Need help as have tried several fixes from the net and none so far work. Have allowed FF to reinstall the pref file, have removed hardware acceleration as well as put flash into a non protected mode and none help.
    Don't know if it is a FF or Norton issue but, it is a real issue. Please help.

    Thanks for your quick turn around. I'd be surprised if corrupt files as I only got the machine last Thursday but, it was a refurb so perhaps issues from the previous owner.
    Do have some questions as follows:
    It is a Windows 8.1 64 machine so will the fix recommended work??
    looking at the page, appears option 2 is my best bet but, won't start until I get the go for Win 8.2. Assuming this is a good fix and since I would be doing it with the system and not a program, no malware??
    As far as drivers, do have a app from HP that updates drivers and I updated everything after I got it going so should have the latest drivers and I did try alone unclicking the machine acceleration and no change there but, with the scan, might help. I have run all of the Windows updates which were quite a few with a new computer and do have Windows set to perform automatic updates so don't think I need to worry about graphic drivers??
    Your thoughts on my questions before running the scan at the elevated admin level. By the way, I am the admin so do I simply run as admin or is there a higher thing I need to do to run at High Administrator???
    Also, if after I run the scan and repair, if OK on Win 8.1 should I send your results to Norton for them to look at since almost all of the problems are with Norton and perhaps they have a fix with those issues and having running the driver fix should help them?? Also will the scan and repair indicate what was fixed and what wasn't.
    Sorry so many questions but, don't want to mess up my new machine.
    Thanks so much,
    Dave

  • Why does the page not move smothe when i scroll?

    Why does the page not move smothe when i scroll?
    Sometimes it even move slower then i Scroll?
    I use a Mac and i have tried to reinstall the program.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    See:
    * [[Troubleshooting extensions and themes]]

  • How can i print an excel spreadshee​t file by clicking a button on the front panel

    i have designed a vi that logs data into an excel spreadsheet. i want to take print out of the file when the user clicks a button on the front panel. what to do if there is very large amount of data.

    Preet,
    Printing the Excel sheet is just an ActiveX method call to print the worksheet. To add data to the worksheet, you already have the reference, just call a print method. As for handling large amounts of data, that is a vague question. The data will print how ever you placed it on the worksheet. If what you mean is that you don't want to print out 25 pages every time, the print method has options to only print specific pages or ranges. You may want to play around with a sample spreadsheet to learn the printing options. For help on the ActiveX functions, make sure you have the Visual Basic help installed for Excel.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How can i setup pages to automatically open when double clicked.  Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Hi Karen,
    Sounds like OS X has lost the association between Pages and its files.
    Start by quitting Pages, then going to Finder.
    In Finder, locate a .pages file. Click on it (once), then press command-I (eye, not one) to Get Info.
    In the Info window that opens, expand the Open With section.
    In this section, click on the pop-up menu and choose Pages (even if Pages is already shown).
    Click the Change All button to associate all files with the .pages extension with Pages.
    Close the info window.
    Double click any .pages file to check that Pages will now launch and open the file.
    Regards,
    Barry

  • Bookmarks when you click on it it dosn't go the pages, any ideas, bookmarks when you click on it it dosn't go the pages, any ideas

    Book marks dosn't work when i click on a page it does nothing what am i doing wrong iam new to macs.cheers

    New to Macs? Ok...
    Go to a web site that you want to Bookmark.
    Then from the Safari menu bar (top of your screen) click Bookmarks / Add Bookmarks.
    Click your Bookmarks icon left side of the Safari window to view your saved Bookmarks.
    For more help with Bookmarks, click Help in the menu bar then click Safari Help. Type in Bookmarks in the search field right side of the help window, press Enter or Return on your keyboard.
    Mac video tutorials available for new Mac users here > Apple - Find Out How - Mac Basics

  • When I try to access a web page or link from a web page I receive an error message like "Server not found" or "Unable to connect." After repeated "try again" attempts the page will load, but when I click on a button or link, the same thing repeats. Why?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

  • I can't download firefox. When I click on run, I get a window saying that the author is unknown. When I click on run in the new window, another window says the file is corrupt. What can I do about this?

    I want to have firefox as my default browser. As this is a new laptop, I hasve to download firefox. As per the instructions, I click on "run" to complete the download, but instead of completing the download, a window appears which says that the author is unknown. If I ignore the window and click on run, I get another window which says the file is corrupt and I can't finish the download and have firefox as my browser.
    I have windows 7 and explorer is the default browser and I want to change to firefox, but so far am being prevented from doing so. How can I successfully download firefox?

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See also:
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • How do I get rid of 'download' option when someone clicks on a photo on my website?

    I mad my website in iWeb. How do I get rid of the 'download' option I see on the page. It appears when I click on a photo. If I click on 'slideshow' it is not there. I  have my photos in folders on my website. Hope someone can help!

    You don't republish any site as 'Ethmoid'.  There is no term here that you need to be familiar with!
    Did you read Old Toad's post properly?  If not then go back and read what he actually wrote, which was - "Once you republish the site as Ethmoid mentioned".  Spot your mistake?
    Just re-publish your site as you normally would and then clear your browser cache.

  • Incrementing the URL's ID in JavaScript by clicking a button

    Hello Everyone,
    I want to Incrementing the URL's ID in JavaScript by clicking a button on the Page in a Content Editor Web Part. I already added the button, but it doesn't incrememnt the ID for the URL. Help will be appreciated. Thatnks.
    Mike
    Michael L. Williams

    You could use the JavaScript client object model to query the library for the next document set.
    The CAML query would need to return items where the content type inherits from Document Set, and the ID is greater than the current item's ID, sorted in ascending order, with a row limit of 1 so that only the first matching
    item is returned.
    The code would look something like below (replace "Name of your library" with the actual title of your library).
    <input type="button" onclick="GoToNextId()" value="Next" />
    <script>
    function GoToNextId(){
    var currId = GetUrlKeyValue("ID");
    var clientContext = new SP.ClientContext();
    var list = clientContext.get_web().get_lists().getByTitle("Name of your library");
    var camlQuery = new SP.CamlQuery();
    camlQuery.set_viewXml("<View><Query><Where><And><BeginsWith><FieldRef Name='ContentTypeId'/><Value Type='ContentTypeId'>0x0120D520</Value></BeginsWith><Gt><FieldRef Name='ID' /><Value Type='Counter'>"+currId+"</Value></Gt></And></Where><OrderBy><FieldRef Name='ID' /></OrderBy></Query><RowLimit>1</RowLimit></View>");
    var items = list.getItems(camlQuery);
    clientContext.load(items);
    clientContext.executeQueryAsync(Function.createDelegate(this,function(){
    var itemEnumerator = items.getEnumerator();
    var counter = 0;
    while(itemEnumerator.moveNext()){
    var item = itemEnumerator.get_current();
    counter = item.get_item("ID");
    if(counter != 0){
    window.location.href = window.location.pathname + "?ID="+counter
    } else{
    alert("There are no more document sets after the current set.")
    }),Function.createDelegate(this,function(sender,args){alert(args.get_message())}));
    </script>
    Note that 0x0120D520 is the content type ID for document sets. Any content type that inherits from Document Set will have a content type ID that begins with that value.
    You could add similar JavaScript to go to the "previous" document set. You would just need to change the CAML query so that it looks for items with an ID less than the current item instead of greater than, and change the sort order to be descending.
    <View><Query><Where><And><BeginsWith><FieldRef Name='ContentTypeId'/><Value Type='ContentTypeId'>0x0120D520</Value></BeginsWith><Lt><FieldRef Name='ID' /><Value Type='Counter'>"+currId+"</Value></Lt></And></Where><OrderBy><FieldRef Name='ID' Ascending='False'/></OrderBy></Query><RowLimit>1</RowLimit></View>
    I hope that helps!

  • I keep getting the error message "Restore Windows"  Finder application quit unexpectedly.  When I click an icon on the desktop on my Mac Book Pro it does not respond.

    I keep getting the error message "Restore Windows"  When I click an icon on  the desktop on my Mac Book Pro, it is not reaponding.

    While holding down the option key, select "Go>Library" from the Finder. Navigate to the Preferences folder and you'll find "com.apple.finder.plist". Delete that file and restart.
    Good luck,
    Clinton

  • Cheque printing. How to avoid last page in case of check printing in F110?

    F-68 prints only one page whereas F110 prints 2 pages.
    How to avoid last page in case of check printing using F110? Is there any other option than changing the Script.

    Hi,
    Im also facing the same issue. Generates 1 page with F-58 but 2 pages with f110. Kindly let me know how to resolve.

  • HT1657 I rented movies on my iPad, they all downloaded, but when I click 'play' it says 'The requested URL was not found on this server'. What does it mean and how can I restore my rented movies?

    I rented movies on my iPad, they all downloaded, but when I click 'play' it says 'The requested URL was not found on this server'. What does it mean and how can I restore my rented movies?

    See this previous discussion:
    https://discussions.apple.com/message/16962474#16962474

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • How do i stop two windows from openning when i clicon an email link, the home page and the link both open. i just want the link to open

    how do i stop two windows from openning when i click on an email link, the home page and the link both open. i just want the link to open

    That is a bug, so you need to wait until this get fixed.
    See https://bugzilla.mozilla.org/show_bug.cgi?id=531552 - Firefox 3.6b opens two windows when opening external links
    (please do not comment in bug reports)

Maybe you are looking for