Creation of new button on same page after insert command

Hello All,
I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
Any help on this?

Hi Jeff,
I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
I dont want any report so i am not creating form on a table or view

Similar Messages

  • Everytime I try to pay with my cc on paypal, I enter all of my infor and after I press the "review and confirm" button the same page reopens but has erased only my cc #, exp date and security cvv number. What could be wrong?

    b.stats.paypal.com : server does not support RFC 5746, see CVE-2009-3555
    This appears on my error page everytime I try to use my credit card through paypal. I enter all of my info (billing, etc..) and after hitting the "review and confirm" button the same page reappears and has erased my cc number and leaving my name and billing info. What can I do to finish my transaction?

    The message about CVE-2009-3555 is meant for webmasters to make them aware that they need to fix their servers.<br />
    Firefox 3.6 versions can detect such a misconfiguration and displays a warning in the "Tools > Error Console".<br />
    * http://wiki.mozilla.org/Security:Renegotiation
    You may have a problem with the PayPal cookies.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    * http://kb.mozillazine.org/Cookies#Removing_cookies
    * [[Cookies]]
    * [[Enabling and disabling cookies]]

  • How to add new button in Customized page....

    Dear All,
    I need to add new button to the page button bar in the UI page.I tried like this in the controller but still i can not get output:
    OAPageButtonBarBean oapbb = (OAPageButtonBarBean)oawebbean.findIndexedChildRecursive("OrderPageButtons");
    OAButtonBean cancelButton = (OAButtonBean)createWebBean(oapagecontext, OAWebBeanConstants.BUTTON_BEAN,
    null, "cancelButton");
    cancelButton.setText("Cancel");
    oapbb.addIndexedChild(cancelButton);
    Is there anything i missedout?
    TIA

    what you are doing incorrectly is
    trying to get the handle to the OAPageButtonBarBean.
    This is a named child of the parent bean(OAPageLayoutBean), and what you are trying to do is find it as a indexed child, this should give you a nullpointer excp in this line oapbb.addIndexedChild(cancelButton);
    since the handle should be null.
    to get the handle to OAPageButtonBarBean, use some like this
    pageContext.getPageLayoutBean().getPageButtons();
    and then add buttons to it.
    Thanks
    Tapash.

  • I want to create a cd on my mac that autolaunches an .html-page after inserting into a pc or a mac. Is that possible?l

    I want to create a cd on my mac that autolaunches an .html-page after inserting into a pc or a mac. Is that possible?

    Solving this requirement on a modern Windows system is going to be problematic too, as the autorun mechanisms are increasingly being locked down over there, if not by the end-user or the system installer, then by the usual anti-malware tools that are installed.
    Given this is one of the most vulnerable populations here in terms of operational security, you'll probably want to target online distribution, or to distribute a signed application that can be installed on the target (akin to a managed system) and that then accesses your data on external storage.  All that app might do is access the disk, verify that the contents of the device are trusted and valid, and launch the browser.
    I'd likely target online distribution or pre-loaded distributions and iOS, as that's where all of the older folks I'm dealing with are headed, too.  If not a native app, then maybe a web-app here, and download the contents into the HTML5 local storage.

  • Button to Load New Content on Same Page

    I'm not new but I don't design enough websites in a year to keep up with all the new technology & I'm afraid I've missed some of the basics along the way.
    I design my sites with DIVs within Dreamweaver CS5 & I want to have a button within a DIV that when clicked will change out the entire content of another DIV, including pictures & text, etc...
    Basically I want to load a new page within a DIV on the same page.
    Very similar to what I used to do with frames back in the old days.
    I'm guessing there's a simple solution but I don't even know where to start with this.
    Any suggestions or help here will be greatly appreciated.
    Thanks in advance.
    Jamaica John

    Basically I want to load a new page within a DIV on the same page.Very similar to what I used to do with frames back in the old days.
    Hi John,
    I hope you don't plan to build your entire site around this model.  If you do, your home page is going to take forever to load.  And people on dial-ups and mobile devices won't appreciate all that excess bandwidth.
    A well-conceived web site should have separate pages to deal with each topic.   Also, search engines will treat you better if your site has pages with unique <titles> on them.  To make a consistent looking site (with same menu, header & footer on all pages), consider using DW Templates or Server-Side Includes.  
    DW Templates ~
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    SSIs ~
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • New details on same page won't insert

    Hi,
    I am not able to get a master-detail-on-same-page to work properly.
    It is created with a wizard.
    After adding the first row and entering data, the row is lost when clicking Apply Changes of the master.
    The row is not inserted in the database.
    When I first add a second row without entering data, the first row is inserted when clicking Apply Changes of the master.
    Also when adding the second row, an extra Apply Changes button appears for the details.
    I am using theme '14. Modern' in APEX 3.0.1 on 10g XE.
    Any help will be welcome,
    Martijn

    Hi again,
    The same problem can be seen when following the Advanced Tutorial topic 'How to Create a Master Detail PDF Report'.
    After following the instructions you get a report with master detail form.
    When all detail rows are deleted, the Apply Changes button of the details table disappears.
    You now can add a fill in a new row. However the Apply Changes button won't save your new detail row. Though adding a next row without entering data will save the first row, and the Apply Changes button reappears.
    So, after all the job is done. However it is not the way of working we will instruct end users.
    Is their a way to get the Apply Changes reappear just after adding the first row?
    Thanks in advance,
    Martijn

  • How to stay on the same page after submitting the Page to commit the row.

    I have a page where I am accepting a ket column from the users , Now I want to have to buttons where user can enter one row and click 'Create & Exit' which would them to the menu. But another button would be 'Create' that would create the row in the table would keep user on the same page , so he/she can enter more rows.
    My 'Create & Exit' button has settings in 'Actions when Button Clicked'
    Action - Submit Page
    Execute Validation - Yes
    Database Action - SQL INSERT Action.
    My 'Create' button has settings in 'Actions when Button Clicked'
    Action - Redirect Page in this application
    Page - 9 (Same page)
    Database Action - SQL INSERT Action
    When this didn'tr work
    I changed
    Set This items - All the variable from the table
    With These Values - All the variable from the page
    Still this doesn't work.
    I very new to APEX application.

    Here's an approach:
    Delete your existing Create button and then redefine it as a copy of Create & Exit.
    Then create two Page Branches, one that branches back to your Menu when the Create & Exit is pressed and another Page Branch that remains on your current page when the Create button is pressed.
    Jeff

  • Navigating to new page after insert

    I would like to navigate to a specific page after the user hits insert on a form application component (I still want the insert action to take place). I have wirtten a pl/sql procedure to do this as follows:
    create or replace procedure run_in_same_window
    as
    begin
    htp.p('<script>window.open("http://www.oracle.com","_self");</script>');
    end;
    If I run this routine independently of the form component, it works fine. However, I have added it to the insert button as follows:
    doInsert;
    run_in_same_window;
    Now the insert works fine, but the navigation to the new window is ignored. I have tried coding in a delay before the call to run_in_same_window, but this doesn't seem to help. Any ideas???
    Thanks,
    Gillian

    Hi,
    You should not use pl/sql proc and javascript to do this. Oracle already provides a functionality to achieve what you are trying to do.
    On your portal form, on the "successful submission of form" section, you should call your url in the following way:
    go(myurl) ---- where myurl is your url.
    hope this helps.
    thanks,
    Mainak

  • How to refresh and redirect into same page after deleting a file

    Hi John,
    One more help I need. I implemented the brows and download file functionality in my application successfully. And I am interested to implement delete also like download. If user will click on download three options will come open, save, cancel in case of download. But like download I want to put delete link which will delete the corresponding file.
    I written the procedure in same fashion as download and compiled in my schema.
    The code is here:
    CREATE OR REPLACE PROCEDURE download_my_file_temp_delete (p_file IN NUMBER)
    AS
    BEGIN
    DELETE FROM file_subjects_temp
    WHERE ID = p_file;
    END download_my_file_temp_delete;
    And in
    Home>Application Builder>Application ID>my_page > Report Attributes>Column Attributes
    There I am entering
    Link text : Delete
    Target : URL
    URL : #OWNER#.download_my_file_temp_delete?p_file=#Delete#
    Where download_my_file_temp_delete is a procedure for deleting the file corresponding to ID .
    Here id alias is DELETE so I am passing #DELETE#.
    If I am click delete corresponding to any file its opening a blank page I seen URL is like
    http://abcd.com:portno/pls/workspace/owner.download_my_file_temp_delete?p_file=4031625747435433
    if I am clicking back and refreshing then getting file is deleted successfully.
    That means procedure is working but I want that after clicking on delete link corresponding to any file same page should appear with refresh then my problem will solved.
    Can u suggest me any approach.
    Thanks && Regards,
    Ravi

    [This is not John, hope that's ok!]
    This kind of thing is best done by rendering checkboxes next to each file in your report region;using apex_item.checkbox(1,file_id) and providing a Delete button that would fire a after-submit process that does
    for i in 1..htmldb_application.g_f01.count
    loop
    download_my_file_temp_delete(htmldb_application.g_f01(i));
    end loop;[And of course a same-page branch on the page]

  • Bevel effect moves Featured News buttons down and right after update

    After I applied the update today, all of the Featured News buttons with the Bevel Effect have been moved down and right about 1/4" and I cannot seem to fix.  I used the Bevel feature for all buttons in the Rollover, Mouse Down, and Active states.  Before I applied the update, the bevel feature worked great, but now, as you can see from the image, the buttons have now moved down and to the right.  I've even tried deleting the entire widget and starting over, but no fix.
    The attached image shows the Featured News buttons.  The top button is in ACTIVE state with the Bevel effect activated.  The "Step 3" button shows the Rollover state with the Bevel effect activated.  All other buttons show the NORMAL state - NO BEVEL.  Before the update was applied, the buttons would appear in the same location as the NORMAL state, but now the buttons appear lower and to the right as you can see.

    I'm having similar problems - and now I cannot remove the bevel from my buttons and they are shifting all over the place!

  • Triggering new window in same page

    Hi,
    can Any one tell me how to trigger a new window in the same page..... I mean how to display the data in news paper format
    ie; when the data is completed in 1st column it should continue in the 2nd column of the same page.........

    well,
    The businees requirement is .... the data should be displayed in newspaper format (column wise). ie; the windows are side by side in a page .... after finishing to print the data in 1st window it should continue in second(side) window of the same page rather than proceeding to a new page window.... I think this expalins my requirement...

  • Adding new button to Standard Page and Launching CP when clicked

    Hi,
    I have a requirement to add a new button to a standard OAF page and when it is clicked, I need to launch a Concurrent Program. Can you please let me know any links/pointers/documents where I can get the details as how this can be accomplished.
    TIA.

    anyone?

  • Display Link in New Region on Same Page

    Hi,
    I am trying to figure out how to make a page link within a region post to a different region on the same page or at least in a new window instead of the same window.
    Thanks In advance,
    Emily

    Pedro,
    Here's a little bit more information about what I am trying to do because the idea with the HTML portlet isn't going to work due the application I am developing.
    The idea is this:
    I have about 100 or so images that report server statistics in png format that are already automatically updated every 10 minuets. What I would like to have is a situation where you have region 1 and region 2 right next to each other. In region 1 are all of the links to the locations of the images (which like I said are already automatically updated with PERL). When you click on the link in region 1, I would like it to show up in region 2. similar to old html frames or iFrames.
    Any Suggestions? I am having a hard time with trying to figure out (despite all the "official" oracle books at my disposal) how to have one region display into a different one to suit this need.
    Thanks in advance
    Emily

  • Same page for insert/update

    Hi there,
    Do someone knows about JSF patterns for using the same page/form for inserting and updating the same entities information ?
    2 use cases:
    1 --> the user browses a list of objects (DataTable), let's say Employees, clicks on one line and gets redirected to the employee details page so he can update the information;
    2 --> the user wants to create a new employee and goes to the same page which is empty.
    The way I am actually doing it: I have an employeeForm page and an EmployeeForm managed bean (session scope) which contains an instance of Employee. This Employee is initialized when an empty form is needed or sent by DataTable controller when employee details' are requested.
    This is not really nice to my point of view since the EmployeeForm controller has to re-initialize it's Employee instance after each usage.
    Does someone has a link or can provide a comment for a "best practise" on that topic?
    Thanks in advance,
    Fabrice.

    I think you should consider using the request scope of the employee bean, when navigating from dataTable to employeeForm overwrite the bean with the value from datatable
    otherwise the bean is created on every request.

  • How do i create a button which will show new content on same page?

    Hello,
    I hope someone can help.
    I have an image; it's a circle with different parts and different colors for each part. I inserted an image in this post.
    I want to be able to make a button out of each part (will do this with Photoshop), BUT i want to have a text shown on the right from the wheel if you click on a particle of the circle. So i don't want it to go to a new page, but i want to have a textframe to pop-up when you click. And when you click on a different part of the circle a new text will occur (and the old one won't show).
    Hope i made my question clear, english is not my motherlanguage so i'm sorry if my sentences are a bit weird.
    Thanks a lot, i hope it can be done with Muse! (This is a big part of the website.)
    best regards, bart

    Hello,
    You can achieve this using a blank compostion widget ot a tooltip widget.
    You would need to use "no fill" for the trigger containers so that they are transparent and then place them onto each portion of the image.
    Now when user clicks on that portion of the image, the trigger above it gets clicked and in a target container you can have the text displayed.
    The only issue here would be that the trigger containers would be of square/rectangular shape so you might not be able place them peroperly to cover all the sections of the image.
    Please refer to the video which might be helpful : http://tv.adobe.com/watch/muse-feature-tour/muse-trigger-target/
    Regards,
    Sachin

Maybe you are looking for