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

Similar Messages

  • HTML DB - Tab - Save data of the previous page on tab changing

    I am trying to implement the technique given in the above thread. Have not yet been able to do it successfully. Can someone give more specific instructions on how to save the data on the page as a user clicks on another tab and loses the data entered in the form. This looks fairly easy using the tab names technique, but I must be missing something.
    Thanks,
    Betsy

    I have a test case scenario on my laptop where this works fine and the data is still in the form when I come back to it.
    The production application has a similar data set, similar everything and the page with the form will not retain the data. Everything was created using version 2.0.
    All the testing is done locally on my laptop, but the production db lives on another server as well as the application.
    Do you have any ideas why they are functioning differently? Is there anywhere in any of the attribute settings for the page that I need to change something?
    Thanks so much.
    Betsy

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

  • 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

  • When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    Question
    When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    julianscars wrote:
    I don't get a page, all I get is the player popping
    Click the green jelly button at the top left of the player.

  • I click a link and it opens on the current page and a new tab, how do i keep the first tab on the current page and only have the link clicked on appear in the new tab?

    I go to click a link for any site and it opens the link in the current page and a new tab. I only want it to open the link in the new tab. I want to keep the original tab what it was.

    you can try to write some web driver to do this particular job for you, one such driver is Selenium. know more about it at https://code.google.com/p/selenium/downloads/list.
    But this thing will need a good programming skill. Otherwise you have Adblock plus addon (https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/), you can try this. you can also contact its developer to include this particular facility also in this add on

  • Is there any way to select a page layout and save it to the 'Add Pages' menu bar on the left of IBA?

    This would be extremely helpful as there is no way in IBA 1 to copy and paste 'lines' from one page to another.
    Ken

    Look at the steps in my first reply to open the LAYOUT page by dragging the BOOK page slider down ... do this in the Life on Earth Template.  click on the  2 column template page to  open it.
    Select ONLY the lines you want. Remember toi  open the Inspector at LAYOUT, second icon from left, and with teh lines selected, tick the Layout Object box ro  enable ediiting, COPY the lines you want, open your Contempory based book.
    Follow the above procdure COPY the  2 col layout page and rename it, Open the  page and paste the lines you copied. They should  drop into place and then you should unclick the Layout object editable tag.
    If you complete this, it does mean you have to copy all your work into this new page layout.
    Another alternative is simply to add lines from the Shapes,  you can  size then ( length and thickness) and  select whatever colour and opacity you prefer, do it on one page and copy and paste to all the othe pages.
    Spend some time playing with teh  layour  pages and changing things.. adding or changing  background images styles etc,.  Once you have  "the knack" an owd Manchester term  - you can customise a basic template to suit your  needs. 
    Hope it helps...

  • Stay on the same page when applying changes

    I have a simple master detail form where we have master form and tabular detail on the second page. The first page has a master form in read only as per standard wizard creation. When I delete and or make changes to the detail the app by default commits and navigates to the master read only page 1. My requirement is to stay on the second page after every update or delete to the detail tabular section . Does anyone have any hints ?

    Look at the page branches. There will be one or more which goes to the first page. Change it to go to the current page instead of the first page.

  • 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

  • How do I find out the date of creation and last modification of the current page being viewed through Firfox 3.6.18?

    I thought that by using the Tools function - Page Info, that this would give the information. It does not. What do I need to do?

    I thought that by using the Tools function - Page Info, that this would give the information. It does not. What do I need to do?

  • When I try to sync photos, I followed all the steps, picked one folder.  When I hit "apply" I get this error message: Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad. What have I done wrong

    When I try to sync photos or music, I followed all the steps, picked onle folder, not the whole library.  When I hit "apply" I got this message:
    Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad" What can I change to just download the photos and not interfere with the apps?
    (By the way, the memory is not even one quarter full)
    Thanks for your help - Pat

    I have the same problem.  I updated my mac to 10.5, which then had me update apps like itunes, etc. then it wanted me to sync my purchased music to my ipad before i updated the ipad...which worked ok. then when i was syncing the photos i got the same message when i hit "apply" asking are you sure you want to delete the 12 apps from the ipad -  clicked "no" and brought me back to the original screen. Got the same message when trying to move them from the hard drive to the ipad.  WHat is going on and how do I correct this? Thanks

  • JSF - Read a text file and diplay lines of text data on the web page

    Hello,
    For one of my projects, I need to display lines of text data on the web page using Java Server Faces Technology. The raw data could be from simple text files or sockets or anything. (Getting the data is not my issue but displaying is). Could anybody send answers with sample code. In servlet, one could do this by -
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException{
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println(DATA);
    out.println(DATA);
    out.println("</html>");
    I am looking for similar solution.
    Thanks in advance
    DK

    Thanks mjolinor.  Works great!
    Two questions.
    1. Could you plz suggest how this could be modified so this code would read the file in or accept it from the pipeline instead of wrapping the (@' around the data?
    2. Could you plz briefly describe some of the details of the code so I can further research and understand.
    Thanks for your help.
    Thanks for your help! SdeDot
    1. It already reads in the file.  The (@' .. '@) bits are just there to create a file using your test data to demonstrate that it works.
    2.  Not user what kind of "details" you want.  There really isn't much there, and get-help on the cmdlets used should provide information on what's going on with them in that script.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How can I get the current user and the current page?

    Hi everyone
    Question..
    It is possible to get the current user (from the user's database on apex) and the current page? (I mean, if I'm in page 4 be able to query a variable / function or something which could give me the current displayed page)
    Thank you very much... I'd been researching without success :-S so I'll appreciate your help
    Regards,
    Fury

    Fury,
    If the user has authenticated, :APP_USER is the name that was used. The current page id is in :APP_PAGE_ID.
    Although I showed bind variable notation for those, & substitution format and v() notation are also available for referencing developer-defined items or built-in names. See the User's Guide for more details.
    Scott

  • How to you reference the current page number and total pages in a script?

    I'm trying write a small script to make field invisible when the current page equals the total number of pages, but with no luck.
    Can anyone advise how to do this?
    I've tried various ways to reference my fields, this being the most basic:
    if(pageNumber == totalPages) {
    continuedBase.presence = "invisible";
    // pageNumber has a run time property as "Current Page Number"
    // totalPages has a run time property as "Number of Pages"
    // continuedBase is a text field within the same subform as pageNumber and totalPages
    Thanks for any help offered.
    Russell

    If you are asking how to get the current page and total pages you acn use these commands:
    current page ----- xfa.layout.page(this)
    total pages ------ xfa.layout.pageCount()
    so your code woudl look like this:
    app.alert("The curent page is: " + xfa.layout.page(this));
    app.aler("The total number of pages is: " + xfa.layout.pageCount());
    if(xfa.layout.page(this) == xfa.layout.pageCount()) {
    continuedBase.presence = "invisible";

  • I've made a photo book, but ordering this iPhoto crashes and I have to reopen the program; done this several times and each time uploading the 3rd page (of 86) it crashes again. My software is up to date (9.2.1), so that is not the problem.

    I've made a photo book, but ordering this iPhoto crashes and I have to reopen the program; done this several times and each time uploading the 3rd page (of 86) it crashes again. My software is up to date (9.2.1), so that is not the problem.

    Try boot into Safe Mode and try again.

Maybe you are looking for