Master Detail module returns to Master page after Detail record saved

Using Oracle Designer Editor version 10.1.2.0.2 I have generated a Web PL/SQL package
set up as a Master/Detail where the Master and Detail records appear in separate windows.
The Master window contains multi-records each with a link to the related Detail records.
The user clicks on the Detail link and the window that appears will allow the user to insert
a new Detail record. Once the user clicks the Save button I need the Detail window to disappear
and the focus returned to the Master records preferably after a new query is performed.
What are the steps I need to perform to navigate back to the Master page and close the Detail
page?
Thanks,
Mark

The simple answer is that to do exactly what you want would take some fundamental changes to the way the framework works. The actionInsert procedure does what it does - it saves the changes and redisplays the form. You can do post-generation changes to make it do something else, like return to the Master, but I'd advise against it.
But if you want a way to return to the Master window, where the user clicks a button or link on the detail form after saving changes, that we can do. Just make a note of the URL that does the initial display of the Master page - probably my_module_name$.startup. Go into the detail module component, and click the User Text tab. Then at Text Location, "Bottom of View Form" (or Top if you want the link there) add for a link:
htf.anchor('my_module_name$.startup','Return to Master')Or for a button:
htf.formOpen('my_module_name$.startup','GET')||htf.formsubmit('Return to Master')||htf.formCloseYou may need to set the SECECS preference for this module to "No" to get this to work.
An alternative to my method is to define an Action Item in the module that does a navigation. I often am linking directly to the View form for a master table, rather than a record list, as you are, and Action Items don't work well for that, but one might work fine for you.

Similar Messages

  • Return to OAF page after invoking configurator

    Hi,
    I’m having a problem to return my OAF page – after invoking configuration pages.
    I know that this topic was discussed here before, but without any summering conclusions.
    Can anyone please assist?
    I’d appreciate any help.
    Thanks in advance,
    Rona

    This is my code when invoking the configurator (called from the CO - processFormRequest)
    The return URL is mapped for a valid java class.
    else if ((event != null) && (event.equals("config")))
    String webAgent = pageContext.getProfile("APPS_FRAMEWORK_AGENT");
    String database = pageContext.getProfile("TWO_TASK").toLowerCase();
    String organizationId = pageContext.getParameter("configOrganizationId");
    String itemId = pageContext.getParameter("configItemId");
    Number applId = new Number(pageContext.getResponsibilityApplicationId());
    Number respId = new Number(pageContext.getResponsibilityId());
    Serializable[] param = {itemId, organizationId, applId.toString()};
    Serializable uiDefId = am.invokeMethod("getConfigUiDefId",param);
    Serializable sessionTicket = am.invokeMethod("getSessionTicket");
    String returnPath = "http://ronal.corp.audiocodes.com:8988/OA_HTML/jsp/Checkout";
    String initMsg = "<initialize>"+
    "<param name='database_id'>"+database+"</param>"+
    "<param name='icx_session_ticket'>"+sessionTicket+"</param>"+
    "<param name='calling_application_id'>"+ applId+"</param>"+
    "<param name='responsibility_id'>"+respId+"</param>"+
    "<param name='ui_def_id'>"+uiDefId+"</param>"+ //TEMP ? REPLACE WITH
    PROFILE?
    "<param name='ui_type'>JRAD</param>"+
    "<param name='inventory_item_id'>"+itemId+"</param>"+
    "<param name='organization_id'>"+organizationId+"</param>"+
    "<param name='return_url'>"+returnPath+"</param>"+
    "</initialize>";
    String configPath = webAgent+"/OA_HTML/CZInitialize.jsp?XMLmsg="+ initMsg;
    pageContext.setForwardURL(configPath,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

  • Firefox keeps remembering a website and won't allow me to log out and will not return to login page. been to cookies, saved passord options, nothing helps

    firefox keeps remembering a website and won't allow me to log out and will not return to login page. been to cookies, saved password options, says no password is saved but it is. nothing helps

    It might be that you are logged in with HTTP authentication (either basic or digest). This authentication is arranged by the browser, so you would have seen a pop-up dialog asking for a user name and password while logging in. It seems that these are cached by the browser and it requires you to restart the browser to log out...
    http://en.wikipedia.org/wiki/Basic_access_authentication
    http://www.tolaris.com/2009/09/08/logging-out-of-http-auth-with-firefox/
    Because I found that having to restart the browser quite annoying I stumbled on this question and also on the HTTP Logout add-on that allows you to log out without restarting your browser. Not many sites use HTTP Authentication, but you might give it a try.
    https://addons.mozilla.org/en-US/firefox/addon/http-logout/

  • Can I return to previous page after clicking a bookmark hyperlink?

    I am writing a book that I want readers to be able to click on a hyperlink to view more information about things, but then easily return to the previous page. For example:
    Ingredients:
    1 - apple
    2 - bananas
    4 cups sugar
    apple, bananas, and sugar would be hyperlinks taking the user to spot in the book where I discuss each. I want them to be able to easily return to the page that sent them, but cannot find a way to do it.
    Thank you!

    Well, perhaps I should give a little more detailed example to illustrate why I'm trying to do this. I see now that my initial example was probably overly simple.
    The book is an emergency care manual for providers in the field.
    It will have, for example, a section devoted to intubation that describes the technique, medications to use, proper verification, and so forth (this section would be a significant amount of information).  Then in a different section, say cardiac arrest, it will say "perform intubation per general guidelines" which will be just one little line of the entire cardiac arrest section.  I want to hyperlink "perform intubation.." to the intubation section but then have a way to quickly and easily return to the cardiac arrest section.
    Does that make more sense? Maybe there's a better way than hyperlinks/bookmarks, but I haven't discovered it yet.
    Thanks.

  • Return to products page after Add to Cart

    hi,
    is it possible to return the the current catalog products page after the user presses Add to Cart?
    thanks in advance.
    Frank.

    thanks.
    had i think about it and what i really need is for the javascript to be refreshed on the Large Product page after clicking Add to Cart.
    Frank.
    edit: i searched the forum and found this:
    <script type="text/javascript">
    function AddProductExtras(){
    document.location.reload(true);
    </script>
    and also tried to refresh the js using this:
    <script type="text/javascript">
    function AddProductExtras(){
    javascript:location.reload(true);
    </script>
    but both get rid of the "items added to cart" message and both reload the whole page which looks and feels rubbish!
    i've decided to go to the shop cart using tag_buynow and added a continue shopping button using {module_goback,image}.
    it's not the way i wanted the site to work but it's better than having clunky reloads and js not working.

  • How do you return to web page after executing servlet?

    When I submit some values to my servlet from a page, using a from, how do I get back into the web page directory? When you call the servlet, the url turns to "./servlet", and if I click on submit again, it tries to find "./servlet/servlet" so obviously it kicks up an error.
    Basically I want the servlet to accept answers in a form, rebuild that form using the answers submitted, and go back to that rebuild. Hopefully, the user shouldn't notice anything changing, which is the idea, excepth his/her answers have been stored by the servlet.
    ANY help would be much appreciated.
    Thanks,
    Miles

    Could you briefly explain how this works joshman. Are you saying use send.redirect or something else I have not found? if so, could you elborate a bit (some method names would be usefull too). I have no idea about headers, which probably doesn't help.
    The problem is I either have to out.println the modified html (with the answers in the values in the input tags), which means I must get the web server to look in the directory where the original page came from, otherwise pictures and other stuff dont show. Then just outputting the html would be as if the original html file was given with inserted values.
    OR
    I have to save modified html files in the same directory under different names, give these to the client and delete them after a while to save spacew. I'd rather not have to do this as it complicates stuff.
    Cheers again.

  • Why can I not return to home page after exitting web mail?

    My home page is Virgin Media. I can log in and out of my isp's Google powered web mail but am not automatically returned to my home page and cannot access it by the 'back' button. I have to close and re-open the browser and there is often a delay before the browser re-opens.

    That's an expected behavior.  You cannot access home-shared music unless the person who shares actually has iTunes up and running.  My suggestion is all the users to make iTunes to automatically launch when the computers start.  If using Windows I believe there isn't a way for iTunes to launch and sort of hides.  If using Mac OS, iTunes can launch and hide by checking the box on System Preferences > Users & Groups > [User] > Login Items.  Hope this helps.

  • Tabular form loses entered data on return from error page after validation

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

  • How to return to previous page based on record number?

    Not sure if the subject of this is how i shoudl have worded
    it... but here
    is what i am looking for...
    which ever is the easiest to accomplish....
    currently when someone completes a form they are taken back
    to there main
    pool of records... in some cases there are over 100 records
    per location and
    the page is setup to display 20 records per page..
    So one case may be that i found the record i need to view and
    edit on page 3
    of 5. I click the record.. edit and submit.. i receive my
    confirmation that
    the changes were made and then redirected back to the records
    list. So if i
    want to see what the record looks like, i have to get to page
    3 again to
    view the record as it now displays on the list.
    So my question is how can i return the person back to the
    same page they
    found that record OR is there any easy way to display only
    the modified
    record first in the list and once they navigate away from
    that page the list
    is back in numerical order?
    Examples...
    Page 1 Page 2 Page 3
    2 6 10
    3 7 11
    4 8 12
    5 9 13
    I click on record # 11 to modify, currently after the
    modification im taken
    back to the main page#1 so would currently have to navigate
    to page 3 to
    view how it looks in the list.
    So what can i do to either take me back to page 3 on
    completion of the
    edit.... Or display the modified record at the top of the
    list on page 1
    while they are on that page.. but once that page is refreshed
    then its back
    to the way above in the example.....
    Page 1 Page 2 Page 3
    11
    2 6 10
    3 7 11
    4 8 12
    5 9 13

    Didnt realize my signature was turned off...
    but below are my apps and language
    ASP, SQL2005, DW8 VBScript
    "Daniel" <[email protected]> wrote in message
    news:fahqbk$dnj$[email protected]..
    > Not sure if the subject of this is how i shoudl have
    worded it... but here
    > is what i am looking for...
    >
    > which ever is the easiest to accomplish....
    >
    > currently when someone completes a form they are taken
    back to there main
    > pool of records... in some cases there are over 100
    records per location
    > and the page is setup to display 20 records per page..
    >
    > So one case may be that i found the record i need to
    view and edit on page
    > 3 of 5. I click the record.. edit and submit.. i receive
    my confirmation
    > that the changes were made and then redirected back to
    the records list.
    > So if i want to see what the record looks like, i have
    to get to page 3
    > again to view the record as it now displays on the list.
    >
    > So my question is how can i return the person back to
    the same page they
    > found that record OR is there any easy way to display
    only the modified
    > record first in the list and once they navigate away
    from that page the
    > list is back in numerical order?
    >
    > Examples...
    >
    > Page 1 Page 2 Page 3
    >
    > 2 6 10
    > 3 7 11
    > 4 8 12
    > 5 9 13
    >
    > I click on record # 11 to modify, currently after the
    modification im
    > taken back to the main page#1 so would currently have to
    navigate to page
    > 3 to view how it looks in the list.
    >
    > So what can i do to either take me back to page 3 on
    completion of the
    > edit.... Or display the modified record at the top of
    the list on page 1
    > while they are on that page.. but once that page is
    refreshed then its
    > back to the way above in the example.....
    >
    > Page 1 Page 2 Page 3
    >
    > 11
    > 2 6 10
    > 3 7 11
    > 4 8 12
    > 5 9 13
    >

  • Display Invoice Page after Insert Record

    I am new at this - so my aplogies - I am using Dreamweaver,
    ASP and Access - I am doing a form registration page and upon
    submit, the submitter is sent to a invoice page which contains some
    of the data they just submitted. How do I cherry pick the record
    that was just created on the previous registration page in order to
    show some of it on the invoice page? I assume I will have to create
    a variable from the value of one of the form fields on the
    registration page, then use that to call the correct record on the
    invoice page, but I have no idea how to do it in Dreamweaver, or
    the syntax if I need to code it by hand. Any help would be greatly
    appreciated. I have been stuck on this for over a day.

    As part of the insert action define something from the form
    that is likely
    to be unique such as emailaddress, and assign it to a session
    variable like
    this
    <%
    session("svemail")=request.form("emailfield")
    %>
    Then on your invocie page simply filter the records by the
    session variable,
    and select the order to be in DESC order.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "BAPWEB" <[email protected]> wrote in
    message
    news:e6p2q5$lj6$[email protected]..
    >I am new at this - so my aplogies - I am using
    Dreamweaver, ASP and
    >Access - I
    > am doing a form registration page and upon submit, the
    submitter is sent
    > to a
    > invoice page which contains some of the data they just
    submitted. How do
    > I
    > cherry pick the record that was just created on the
    previous registration
    > page
    > in order to show some of it on the invoice page? I
    assume I will have to
    > create a variable from the value of one of the form
    fields on the
    > registration
    > page, then use that to call the correct record on the
    invoice page, but I
    > have
    > no idea how to do it in Dreamweaver, or the syntax if I
    need to code it by
    > hand. Any help would be greatly appreciated. I have been
    stuck on this
    > for
    > over a day.
    >

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • Master-detail module in Web PL/SQL

    Hi, I'm a beginner and I'd like to ask how many tables can I use in order to create a master-detail module. The example I have is only 2 tables which is master table and detail table respectively.
    What should I do if I want to include more than 2 tables in a master-detail module?
    For my case, the module i created is to create customer orders where order, order details, customer, employee and product tables are necessary .
    Thanks.

    This probably belongs over in the Products->DeveloperSuite->Designer forum. But I can start an answer here.
    On any single designer-generated web pl/sql page, you can typically only show two levels: a master and 0->many details. You can also only edit one table per page.
    You'll typically be setting up several module components using "key-based links" between them. It's not that hard, but you'll want to experiment a bit or use some resources. For example, there are a number of useful papers over on the odtug site, www.odtug.com
    -- jim

  • Can't change the master page after upgrading to SharePoint 2013.

    After upgrading our farm to SharePoint 2013 we are having trouble changing the master page for sites that don't have sub-sites. We are still using the v4 UI version, and that appears to be what is causing the problem. The error we get when going to /_layouts/ChangeSiteMasterPage.aspx
    is:
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaChromeSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I took a peek at the source code for AreaChromeSettingsPage.OnLoad and found that it references a CheckBox control that does not exist in the v4 ChangeSiteMasterPage.aspx:
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    this.EnsureChildControls();
    if (!this.Page.IsPostBack)
    this.LoadValues();
    if (base.Web.Webs.Count == 0)
    this.resetSystemMasterPageSubSitesCheckBox.Visible = false;
    this.resetSubSitesCheckBox.Visible = false;
    this.resetAlternateCssSubSitesCheckBox.Visible = false;
    this.resetThemeSubSitesCheckBox.Visible = false;
    base.ConfigureCancelButton(this.BtnCancel);
    If I manually add a checkbox control with the ID "resetThemeSubSitesCheckBox" to a hidden panel in the v4 copy of ChangeSiteMasterPage.aspx the page works, but obviously this is not a best practice. How can we fix this without upgrading the UI version, which
    we are not yet ready to do?

    Thanks Mike - Could you please share what is your next step then? I also have custom master pages and layout but I am going to make new master page and layout in 2013 as we need to change the existing branding too. so, i upgrade the site collection. I understand
    the Look and Feel will not persist after the upgrade but I am concern that at least the page should show the content on the page after the upgrade. The page had Calendar webppart on it but after the upgrade it is coming blank.
    any suggestion?
    Regards,
    Khushi
    Khushi

  • Master Detail Reports on the same page

    hi experts. i need your assistance in one issue...
    i have a master detail reports in one page. Master report displays all the products and details report shows their orders...
    what i want is, when user clicks on products graph its detail graph show the orders of that particular record on the same page. Both reports would remain visible on the same page side by side.
    if anyone can help?

    Hi Asif48,
    Just as Visakh suggest, we can add the master data and subreport in the same tablix, then set the visbility of subreport to toggle based on click action of master level row. And add some parameters to filter the related data based on the master report field.
    For more details, please refer to the following steps:
    Create another report as the subreport and insert some fields. 
    Create a parameter named Order in the subreport.
    In the main report, right-click to insert a subreport in the column right of the master tablix.
    Right-click the subpeort to open the Subreport Properties, and select the subreport name in the drop-down list.
    In the left panel of the Subreport Properties dialog box, click Visibility.
    Select Hide option, and select Product (master level row) to display the subreport to be toggled by the Product report item.
    In the left panel of the Subreport Properties dialog box, click Parameters.
    Select Order in the drop-down list of Name, and select [Product] (use the related filed name) in the drop-down list of Value.
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Multi-row editable Detail Component on the same Page as Master (WSG)

    Hello. There was a trick to place editable (with Update button and Delete? checkboxes) Detail Component on the same Page as Master. Something about a Creation of Detail Component in Property Palette Mode (against of Dialog). Can anyone point me please to those hint?
    great thanks,
    Wit.

    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.

Maybe you are looking for

  • Nokia Maps & problem with '#' button

    It looks like my '#' button changed its working in the Nokia Maps application. The pressing causes unpress and vice versa. So, when I release the button, it keeps zooming out until I press it again. Strange, because it works incorrectly only in this

  • Jump Buttons within one iWeb page

    Good morning, I am wondering: Is there any way to create buttons in iWeb that give the viewer of the webpage the option, to jump from top to bottom, middle to top and bottom within the one chosen page? You know: To not tax somebody's index finger on

  • Query Builder doesnt load the tables. Schema not loaded

    Hi all, One small issue i am facing.. I have made a connection to Oracle db using the user id given by my DBA. But when I try to open the query builder it doesnt load any tables.. cant see any tables. Findings: If on toad i run a query select * from

  • Sales from vendor consignement stock

    Is it possible to configure sales item catogory and schedule line to automatic withdraw stock from vendor consignement stock? I will assume that the special stock vendor consignement must be assigned to the item category, but there are no standard it

  • ORA-04062 (Signature has been changed)

    Hi Sir, I need to ask about Developer Forms problem? We have one software version for many clients, but somtime we get runtime message ... ORA-04062 (Signature has been changed)... on our forms ... and we have to recompile the form source ... but in