How to remain current page when refresh ?

How to remain current page after refreshing in TableView?

Layout:
<htmlb:tableView id              = "iso"
                       keepSelectedRow  ="True"
                       design          = "alternating"
                       visibleRowCount = "6"
                       fillUpEmptyRows = "true"
                       selectionMode   = "SINGLESELECT"
                       table           = "<%= t_iso %>" >
        <htmlb:tableViewColumns>
          <htmlb:tableViewColumn columnName          = "CODE"
                                 width               = "5%"
                                 horizontalAlignment = "center"
                                 type                = "text"
                                 title               = "ISO" />
          <htmlb:tableViewColumn columnName          = "ARCHIVE"
                                 width               = "5%"
                                 horizontalAlignment = "center"
                                 type                = "text"
                                 title               = "ISO File" />
          <htmlb:tableViewColumn columnName          = "EDITION"
                                 width               = "5%"
                                 horizontalAlignment = "center"
                                 type                = "text"
                                 title               = "edition" />
                  </htmlb:tableViewColumns>
      </htmlb:tableView>
     <tr>
      <htmlb:button id      = "btnCreate"
                    text    = "Create"
                    onClick = "myClick" />
      </tr>
When I click button "Create",the page is refreshed .Before refreshed,the position of TableView is Page 2 . But after the view is refreshed ,the position of TableView is changed to Page 1 . How do I retain the page of TableView is 2 ?

Similar Messages

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • In ADF Tree how to Navigate to Pages When Clicking Tree Node   (TP4)  ?

    hi
    I know how to use af:tree as master-detail tree
    by draging detail views from Data Controls and dropping in JSF
    Page but I would like to know how to call other pages when double-clicking child nodes in the tree. in JDeveloper 11 TP4 & Windows XP
    Anybody can help?
    best regards
    Forakora;

    Hi,
    if it has to be a double click then this can be done with a clientListener that calls a JavaScript function and that you set to the doubleClickEvent type e.g.
    handleTreeSelection(event){
    // do here what you need to do
    queue event to a serverListener that references a managed bean. Use managed bean to
    navigate to another page
    Out of curiousity, what is the usecase ?
    Frank

  • How to print current page in Preview

    Printing in Preview, I don't see an option in the print dialog that enables "print current page", how is that done?
    The reason is that have a 90 page PDF document and the page numbers don't match so I can't just choose to print for example "from page 51 to 51", the wrong page prints (page 39). Both the drawer and the separate pages says the same page number but not when printing.
    Thanks.
    Mac Mini 1,33   Mac OS X (10.4.4)  

    Yeah, I thought so. I find the printing options very limited, across the board. To do things like "print current page" or "print selection" in Preview or Safari should be easy and obvious.
    Thanks for the reply, I'll get Adobe Reader for now.

  • Return to the current page after refreshing

    Hello!
    When I refresh the current page I'd like to return to it, not to another page.
    When I choose "SAP Business Intelligence" forums link (with all subordinate forums in one screen) and go to previous pages (for example, to 3rd page), even if I return to 1st page when I refresh the screen it shows me again the 3rd one, not the first. It's very annoying. Could it be changed?
    Best regards,
    Eugene

    Eugene
    The forums are displayed in an iframe. Therefore, if you wanted to simply refresh the forums to the exact page that you have navigated to, you should right-click on the content area of SDN (the forums page) and choose the refresh option. This will refresh this window and should keep your place marker. If you refresh the URL in the browser window then this will refresh the entire SDN page and will take you to the entry point of the forums.
    I hope this helps
    D

  • FB4 Implicit Paging: Any way to force current page  to refresh its values from server?

    I have a datagrid that I am using the new Flash Builder 4 implicit paging feature on.  Currently if a user clicks a grid item and modifies its values in a popup i want to force the current page of the datagrid to retrieve those values from my server again.
    Here is the scenario I want to reslove:
    Say I have a 1000 records to be shown in the grid but I have utilized implicit paging and only show 100 records at a time.  Say the user has scrolled down and they are now seeing the page containing records 300-399.  If the user changes a value concerning one of the records in 300-399 I want that "page" to be refreshed from the server side data. 
    Now i have tested updating the data directly in the grid but have run into an issue.  Say I change a value displayed in the grid on the client side, now if I get data from the server again it will only reflect what i changed earlier and not what is actually coming from the server.

    Well i figured out how to refresh the grid with:
    service.getDataManager(service.DATA_MANAGER_FUNCTION).refresh();
    Anyone know how to just refresh only one page out of a all the implicit pages?

  • Validate and Save data of the current page when tab changing

    Hi,
    Using APEX version 2.2
    We have a multi tab chain form, which each page / tab references a different table. Seperately, when each form is saved, the data is validated and committed to the database.
    The business requirement is to be able to enter data on a form, and then click on another tab, and the page is "validated" and saved, and then the tabbed page is then shown.
    From what I have seen on the forums, pressing a tab, will not validate and process the original form, only perform the page rendering processes.
    I have read the forum thread Re: Navigating to non-current pages for a tab - but have not seen how this works? Is there some dialog missing?
    What we would like to do is call the tab as per usual;
    javascipt:dosubmit('T_PAGE_6');
    But also add the save validation first;
    javascipt:dosubmit('SAVE'); javascipt:dosubmit('T_PAGE_6');
    This would allow the full form validation
    Is this part configurable? otherwise is there anothe solution we can use?
    Thanks
    Jon

    Jon, You essentially want your standard tabs to do nothing but act as buttons. If you can adjust the templates to make those "buttons" look like tabs, you'll have what you need.
    Others will have to advise on how to do that, though.
    Scott

  • How to report current page number to the browser...

    I need to dynamicaly attach a script in a bunch of PDF files. The script will be attached when the user requests the document and the document will be embeded in the page like this:
    <embed id="PDFObj" src="test.pdf" width="100%" height="100%">
    I have a JavaScript in my webpage with a message handler:
    var PDFObject = document.getElementById("PDFObj");
    PDFObject.messageHandler =
      onMessage: function(aMessage)
        switch (aMessage[0])
          case "_pdf_PageOpened":
            alert("!_pdf_PageOpened!\n" + aMessage[1]);
            break;
    I'm using hostContainer.postMessage on Page/Open event and it works just fine when the event(action) is manualy attached.
    My question is:
    How to attach the Page/Open event on every page in the PDF file using script that runs on Acrobat Reader?
    In Acrobat Pro I can use Doc.setPageAction() but it doesn't work in Acrobat Reader that is embeded in the browser window.
    OR
    Is there any other way to report the current page number to the webbrowser for an embeded PDF?

    Hi,
    to get the current page, you can use the index of your master page ("Restricted").
    $ = $.parent.index +1
    and for the total pages use
    $ = $layout.pageCount()

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service.
    pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain multiple pages (eg, each individual page maps to one train node, all the train nods maps to one page function).
    are there OA apis that I can use to get the Current Page name in controller?
    I tried pageContext.getParameter("CurrrentPage") , it works great for iExpense application. However, in iRrecuiment, the parameter "CurrentPage" was not set at all.
    Please advise.

    First let me explain what I want to achieve:
    I am writing one region (choice list displays the webservices based on the container region) along with the controller, and that region will be embed inside any OA application pages via OA personalization. On the runtime, I need to detect the current page (container region) name. Then, based on the configuration stored in my table, I need to query out the web services endpoint to call.
    Now let me answer your question:
    For example, OIEMAINPAGE.xml (OIEMainPageContainer) contains OIEReview, OIEDetail, OIEGeneral, etc, each inner region will be rendered as a page when you click the train node or link of other page. (from end user perspective)
    If I call pageContext.getPageLayoutBean().getPageFunctionName() on those inner regions, it will return OIEMAINPAGE, so I can not figure out which region are rendered (displayed) on runtime. (My region are embed inside OIEMAINPAGE pagelayout region )
    If I call pageContext.getParameter("CurrrentPage"), it will return (OIERview, OIEDetail etc), which are exactly what I want.
    However, I have to make sure my code works for other OA application, and I already noticed that some application does not set parameter CurrentPage, instead they may set parameter Page. So, I want to know if there is API provided by OA or fnd team to return current container region (page), very similar to Form Block name.
    In form, One Form function could have multiple Blocks, and they are not displayed at same time.
    In OA, one function could have multiple inner container region, and they are not displayed at same time.
    In form, One Form function could have mutlple Blocks, and they are not displayed at same time.
    In OA, one funciton could have mulple container region, and they are not displayed at same time.

  • How to get login page when user clicks on browser's back button

    Hi,
    I am using struts framework.
    I have set property nochache=true in response header of all pages.
    So, browser does not caches my pages.
    Now,when I am clicking on browser's back button, I am getting following message..generated by browser.
    Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
    To resubmit your information and view this Web page, click the Refresh button.
    Instead of that I want to show user a login page, when it clicks on back button.
    Can anyone help me?

    Hi,
    I agree with your suggestion.But my query is,
    If you have seen many credit card or banking websites,generally when user clicks on browser's back button,its redirectly user to login page of it for security reasons.
    I want to implement that kind of functionality.So need help on that point

  • How To Display Current Page Name in Text Box Titles?

    <BR>I have a report which uses a page dimension. When I print out the report, it does display the page dimension member in plain text, near the beginning of the report. But I would like to incorporate the current page value in the formatted report title, a text box.<BR><BR>The "MemberAlias" command, for example, looks like this:<BR><BR>(( MemberAlias("GridName", Row/Col/Page, "DimName") ) )<BR><BR>(substituting the less-than, greater-than symbols for parentheisis just for this web forum)<BR><BR>If I put a number in as the second element in the function, that hard-codes the report to print the page 1 value on each page of the printout. Unfortunately, Reports doesn't allow the "current" value in a text box. Is there a way to do this?

    hi,
    is there any generic fix for this. if we want to display then we need to change the each page CO . is it a possible solution. or any generic solution. Please provide
    Thanks
    Smarak

  • How to seperate current page fields in a pdf form using javascript

    Hi,
    Is that possible to seperate current page fields(textbox, Chesckbox) in a pdf form using javascript.
    I have coding to get all the fields in a pdf form. But i want to take CURRENT PAGE alone.
    Please help me out.
    Thanks and regards,
    Christy

    Hi try67,
    Thanks for your support.
    I got the result.
    Thanks and Regards,
    Christy

  • How to setFocus current page?

    Hello!
    I'm newb soo sorry for my mistakes.
    As in the title, I need setFocus my current page...
    Something like getPage?
    Is it possible?
    using Acrobat 9.0 pro..
    Ty for help!

    PDF use a zero based numbering system for pages. The first page is page zero, 0, or the logical page -1.
    You can go to any page with JavaScirpt using the 'pageNum' property which is an integer and you can read or write this data.  Writing or setting the value of this properyt will navigate one to that page number.
    Since the pageNum is an integer, you can increment it or decrement it to move to the next or previous page. You can use the numPages property to navigate to the last page.
    this.pageNum = 0; // goto first page
    this.pageNum++; // advance to next page
    this.pageNum--; // goto previous page
    this.pageNum = this.numPages - 1; // go to last page of PDF

  • How to refresh the current page when retrieving data from database

    hi all
    in my application i want to navigate from different tables to different forms.  The data in the table and in the forms is comming fromthe database. when i select a navigation link to database of a form it is connecting to database.  so im manually refreshing the refresh button of I.E. which is big headache.  so is there any way to refresh my current table or form dynamically at run time to retrieve from database
    Thanks and regards
    khaja

    Hi,
      Refreshing a connection to Database means re establishing your connection each time.It will be load for the DB to load the data every time generally not advisable to do.
      Inorder to get the value from the DB you have load the driver and connect it using fireplug with the view for navigations.
      for the same refer this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/51/2c747ecd037842943bdb38be214719/frameset.htm
    Hope it helps.
    Rdgs,
    Guru

  • Pages - How to get current date when opening a template!

    I have a stationery template with the date on itl When the template opens can I get it to display the current date.. It so how is that done.

    Yes, and the worst:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=424&sid=ba144f60f149 4f75c94316b0c7fbff2b&mforum=iworktipsntrick
    If you had Pages previously it should be in your Applications > iWork folder.
    Peter

Maybe you are looking for