Uncommited changes - Help

Hi everyone,
can anyone tell me how can I disable the uncommited changes message?
When I go to one specific page to another I get this message: "The page you are about to leave has uncommited changes, that will be lost if you proceed".
I only want to commit this changes after. Is it possible to do this?
Can anyone give me some help on this??
Thanks,
Atena
Message was edited by:
Atena

Hi Shay,
thanks :)
but I need to have in page 1 a table and only one button and when it's pressed page2 is opened, and I need to add a new row in the second page. I can only have one button.
I tried to use this code in the button:
public class JhsDataActionAltaSociais extends JhsDataAction
public void onEditarObstaculos(DataActionContext daContext){
ViewObject firstView = daContext.getBindingContext().getDefaultDataControl().getApplicationModule().findViewObject("S2ObstaculosLevel1");
Row newRow = firstView.createRow();
newRow.setNewRowState(Row.STATUS_NEW);
ViewObject secondView = daContext.getBindingContext().getDefaultDataControl().getApplicationModule().findViewObject("S2AltaSociaisView2");
Row currentRow = secondView.getCurrentRow();
newRow.setAttribute("AlsEpsPsId", currentRow.getAttribute("EpsPsId"));
newRow.setAttribute("AlsEpsId", currentRow.getAttribute("EpsId"));
newRow.setAttribute("Obs", "");
//tried this line to refresh the View Object but did not work: daContext.getBindingContext().getDefaultDataControl().getApplicationModule().findViewObject("S2ObstaculosLevel1").clearCache();
but when I go to page2 I can't see the new row, only if I press the refresh button in the browser.
Can you help me on this?
Thanks,
Atena

Similar Messages

  • Uncommited changes Message - Need help

    Hi everyone,
    can anyone tell me how can I disable the uncommited changes message?
    When I go to one specific page to another I get this message: "The page you are about to leave has uncommited changes, that will be lost if you proceed".
    I only want to commit this changes after. Is it possible to do this?
    Thanks,
    Atena

    Atena,
    This is doable as a post-generation change, but I do not recommend it. When you go to the next page, and commit there, you might get errors related to the previous page which the user can not fix on the current page.
    If you nevertheless want to change it, you should remove the alertForChanges() call in onClick property on all buttons and menu items in your application, and replace the call to doEvent with doDataEvent on the same buttons and menu items.
    See the Developer Guide, chapter 5, section Request Submission for more info.
    Steven Davelaar,
    JHeadstart Team.

  • Problem with "Uncommited changes" when viewing certain rows in detail group

    Hi Guys,
    When I try to view an row in a detail group I get a popup box saying that there's uncommitted changes. This will happen even when there's no changes in the master group. It will also happen for all rows in the detail group except for the first row listed.
    e.g.:
    Master Group is department
    Detail group is employees
    The detail group will display:
    Employee 1
    Employee 2
    Employee 3...
    If I select to view the details for employee 1 it will go to the form view without any problems, if I select any other row (2,3,4..) I get a popup box warning that there's uncommitted changes on the current page.
    If I go into the form view of employee 3 (confirming that there's uncommitted changes on the current page as I do) and then use the breadcrumbs to go back to the department screen then Employee 3 is the only detail group row I can go into without getting the uncommitted changes popup.
    How is it possible that different rows in a detail group can cause this popup to happen?
    I am using JDev 10.1.3.2
    and the pages where generated by JHS 10.1.2.26
    Is it possible that when the radio button that is used to select a detail group is changed that this is showing up as an uncommitted change in the javascript?
    I need a fix for this urgently so a fast response would be greatly appreciated
    Bar

    Im using a custom method to stack the detail groups and Im missing the line that adds the radio button to the ignore list:
    #if (${JHS.service.generateJavaScript})
    <afh:script text="addToIgnoreChangedFields(['${group.name}:${group.name}Table:selected']);" id="${group.shortName}IgnoreChangedFields"/>
    #end
    is there a certain place to add this in the template?

  • Message about uncommitted changes in advanced search

    If the advanced search option is used, and one or more fields are filled in, and the search button is clicked, then a message occurs: "The page you are about to leave has uncommitted changes ...".

    You can register items that should be ignored for this uncommitted changes message using the following javascript call:
    <script text="addToIgnoreChangedFields(['<item1>','<item2>']);"/>
    For example:
    <script text="addToIgnoreChangedFields(['FindDepartmentsDepartmentId','FindDepartmentsDepartmentName','FindDepartmentsManagerId','FindDepartmentsLocationId','FindDepartmentsManagerName','FindDepartmentsEmployeeId',]);"/>
    So, make sure that all items in the find region are added to the ignore list through this javascript call.
    Steven Davelaar,
    JHeadstart Team.

  • I am facing problem zooming and in slide as i think there is some general setting got changed help to rectify.

    i am facing problem zooming and in slide as i think there is some general setting got changed help to rectify.

    If the screen appears zoomed in then try double-tapping the screen with 3 fingers (with zoom 'on' you need to use 3 fingers to drag around the screen), and then go into Settings > General > Accessibility and turn Zoom 'off', and possibly also change what Triple-Click Home is set to.

  • Connection has uncommited change in sql developer

    Team,
    i am getting the message in sql developer connection has uncommited change and please select one of the option 1)commit changes 2)rollback changes 3)abort connection disconnect
    we are querying the view which takes data from remote database using db link,
    please can anyone shed some light on this
    Thanks
    prakash gr

    thanks for the update, what happens if use commit/rollback during the session disconnection, what impact on destination db ?
    appreciated your inputs
    Use ROLLBACK in that situation. That will guarantee that you are not making any changes to the database.
    Jeff's answer that a COMMIT will have no real effect 'as long as you KNOW that nothing has been changed' is technically correct the ROLLBACK will ensure that you haven't even made any accidental changes.

  • Uncommitted changes information - how to ?

    <p>
    Hi,
    </p>
    <p>
    I'm looking for solution like I have in application created by <strong>JHeadstart</strong>. When user is on the page with input components and wants to leave this page (without saving changes) , he should get JavaScript message like on this image. When he press OK all non saved changes (or new empty row) should be removed. Let following scenario:
    </p>
    <p>
    1) User inserts any data into form on <font color="#ff0000">PageOne</font>
    </p>
    <p>
    2) Then press link on the menu and go to <font color="#ff0000">PageTwo</font> with another input form.
    </p>
    <p>
    3) He press commit and all changes (from both forms) are saved - <font color="#ff0000">shouldn't be</font>.
    </p>
    <p>
    The questions are:
    </p>
    <p>
    <font color="#ff0000">1) How to create JavaScript message about uncommitted changes (image above).</font>
    </p>
    <p>
    <font color="#ff0000">2) How to obtain functionality, If user press OK all unccommitted changes or new data are removed</font>
    </p>
    <p>
    Have anyone had similar problem and solved that ?
    </p>
    <p>
    Kuba
    </p>

    Hi Kuba,
    I wanted to have similar functionality as you described. I gave up after few days. Maybe you will be more successful.
    a) you have to check state of all editable fields (javascript function)
    b) you have to check model changes (for example bindings.commit.enabled == true)
    I end up with disabling menu navigation on pages you could leave only when everything is commited or rollbacked. Why ask user what to do? Just give him only two options (without dialog): a) commit changes and navigate or b) rollback changes and navigate. Of course this is not applicable everywhere.
    Back to your questions:
    1) I believe there is a way to check all input field change in javascript (value vs. defaultValue)
    2) For example you can create rollback and commit buttons with inlineStyle set to "display: none" (invisible buttons). These button are programmaticaly invokable from javascript by document.getElementById('buttonid').click()
    Rado

  • HT4191 i cant sync my windows seven contacts with itune because of the "over the air option cant be changed" help me

    i cant sync my windows seven contacts with itune because of the "over the air option cant be changed" help me

    This sounds like you configured the phone to sync contacts with iCloud or with an MS Exchange email account. If you want to sync directly with your computer you will need to disable the over the air sync settings on the iPhone.

  • HT4314 i have 2 game center account with 1 apple id  but it will only access one account. it says the other id is used but i cant change . help.

    I have a game center account that has 2 accounts in the same apple id. the problem is i can only access one account. when i try to type in for the second account it says already taken. How do i change to the 2nd account with the same apple id? Please help.

    that's the issue, you bought the OS online so Donald is right, it is being mailed to you. post the URL where you bought it.
    the 'app store' is an application running on OSX itself where you can DL software.
    so, you have to wait for mountain lion to arrive.
    if you want to get a clean OS on your machine now, do this
    reboot holding down command/option/R (hoping your machine supports this)
    open disk utility, erase your HD so you have a single mac journaled partition
    choose install OSX on this HD
    let it run. from what you said, you will be back on lion.

  • "Documents" folder is suddenly locked, can't change HELP!!

    Help!!
    All of a sudden my Documents folder, in my home folder has a little "lock" in the icon and its marked "read only". The attributes ar "dr-xr-Sr-- " I've never seen the "S" before, no clue...
    Nothing I do will change this. What could have possibly happened and better yet how do I fix this. It's the Documents folder and ALL the sub-folders. I've tried changing the permissions in Finder and it won't stick. Nothing I try seems to work and now I'm desperate.
    Please help!
    Peter

    As well as the advice posted above, enter the following into the Terminal:
    ls -Aol drag enclosing folder into Terminal
    Both instances of l in the command are lowercase Ls. Post back with the results of the command, which can be done before or after changing the permissions on the folder. The S permission in that place means that the setgid bit is set on that folder but not the execute/search right for the group. This bit causes all items created in the folder to have the same group as the folder if the underlying file system supports this feature.
    (18084)

  • Start up disc full, tried everything I can find, no changes, help?

    I posted this somewhere earlier, sorry for repeating, but I can't find it.  AFter getting the start up disc full message, I backed up everything on an external hard drive with Time Machine, and additionally, copied everything from iphoto on to the same drive, different partition. I have freed up tons of memory, but no change to the start up disc when I check it in the activity monitor area.  I have restarted it a number of times, emptied all trash, and checked the console log for messages. I see lots of "failed to count the number of files in the "/system/library/memory/startupItems": No such directory.  Other than that, nothing popped out at me. I also ran the diagnostics for the disc and repaired all permission scripts, (I think that's what it said) no help.
    I am grateful for any help, could it be a virus or an error I can't detect?
    Thanks,
    Veronica

    Would that have worked if I had tried it before the "archive and install"? Because that is what I tried next and it didn't work, and I'm just wondering if it didn't work BECAUSE I tried to do the Archive and Install first? Or if it just never would've worked because my hard drive's messed up?
    I'm just wondering because after I got the last response, I called Apple Care to see if there was ANYthing else I could do before having to either erase everything or actually haul it down to the Apple store, and it's the Apple care guy who told me to try the Archive and Restore first. So I'm just a bit annoyed if this could've been avoided by simply doing a new install first, if it's the Archive and Install that ruined everything...

  • How to remove uncommitted changes made in a table through JAG?

    Hi,
    Is there any possibility to remove the uncommitted row from a Table through JAG.
    For Example,
    If I Click " AddRow " button in a Table and enters value for all the Attributes in that particular Row and if I click the " Cancel " Button, that newly added uncommitted row should be removed by refreshing the Particular page.
    Simillarly , if i update a column in a Row and press cancel button , the uncommitted value of that column should be rollBack to its commited value(ie., to its previous value).
    Thanks,

    You can generate a Delete? column in the table by setting the Group property Multi-Row Delete Allowed.
    Other than that, you can generate it through JAG by using custom generator templates, like described in section 4.7 of the JHeadstart Developer's Guide. You can for example drag and drop the Rollback operation of the Application Module as a button and call it a Cancel button.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Broken Links not fixed after being changed-HELP PLEASE!

    I am trying to fix a website I created for a friend. I created it in Dreamweaver CS6 on a Mac. Everything was working on the website, the pitures were showing up and now 2 of the pages arent working. On both pages the spry bar is not working and some of the pictures will not show up. I have went to find broken links and redirected it to the correct file but it is not changing anything. I am not sure how to fix this problem, if anyone has any advice that would be great!! The website is www.serenityatthebeach.com.

    That line read correctly when I looked at it on the broken page colorcutstyle. I copied the code from the page if that would help. I hope this helps.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Stlye Services</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    @import url("webfonts/Jenna_Sue/stylesheet.css");
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background-color: #A9AB36;
              margin: 0;
              padding: 0;
              color: #000;
              background-image: url(background.jpg);
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
              font-family: "Jenna Sue";
              font-size: 50pt;
              text-align: center;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #A9AB36;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: underline;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
              width: 960px;
              background-color: #E5E3E4;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background-color: #ADB96E;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
              padding: 10px 0;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background-color: #A9AB36;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    .container .content p {
              font-size: 30pt;
    .Headers {
              color: #A8A92B;
    -->
    </style>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <div align="right"><a href="http://www.aveda.com/index.tmpl"><img src="Header1.jpg" alt="Header" name="logo" width="961" height="423" id="logo" /></a></div>
      </div>
      <div class="content">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a>      </li>
          <li><a href="colorcutstyle.html">Hair Services </a></li>
          <li><a href="../spapage.html">Spa Services </a>      </li>
          <li><a href="nailpage.html">Nail Services </a></li>
          <li><a href="makeup.html">Make-Up </a></li>
          <li><a href="../aboutus.html">About Us </a></li>
        </ul>
        <h1 class="Headers">Hair Services</h1>
        <p><img src="color.gif" width="792" height="612" alt="hairservice" /></p>
        <h1 class="Headers"><img src="IMG_2397.JPG" alt="salon picture" width="933" height="282" /></h1>
        <p>&quot;+&quot;indicates variations in the price determined by the work involved and the level of talent </p>
        <p align="left">24 hours cancellation notice is required </p>
      </div>
      <div class="footer">
        <p><a href="https://www.facebook.com/SerenityAtTheBeachSalonSpa?fref=ts"><img src="facebook-logo.png" alt="facebook" width="244" height="195" /></a><a href="https://plus.google.com/110271807602578049704/about?gl-us&hl=en"><img src="googleplus.png" alt="google plus" width="194" height="194" /></a><!-- end .footer --></p>
      </div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

  • Site Definition Change  Help

    Please help me to understand how to name a newsite with and
    existing site name. I have an existing site created in Dreamweaver
    and live. I have created a new site within a folder Unnamed Site 3/
    on the same local drive (not within the root folder) where this
    existing site lives. I did not want to name it the same name as my
    existing site name,so not to confuse any of the files- since I had
    to use some existing files and also create new ones. I have never
    entirely replaced an existing site with another using the same
    domain name. Obviously all my template files and pages have a path
    of Unnamed Site 3/Blah/Blah throughout them. How (please tell me
    this is possible) do I change the path throughout to the existing
    domain name throughout the site files. I hate to seem so silly but
    I never had to put up a replacement site before. Do I use Change
    links sitewide? I have so much done already, it just wouldn't make
    sense that there was not a way.

    Name the new site "Original name NEW". Give it the same
    Remote site
    definition as the old site. When the time comes, move all of
    the original
    site files folders on the remote server into an archive
    folder (preserving
    the hierarchy) on the remote site (or even just delete them,
    and upload the
    new site. Bada bing, bada boom.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "rakeeka" <[email protected]> wrote in
    message
    news:glvn14$bs4$[email protected]..
    > Please help me to understand how to name a newsite with
    and existing site
    > name.
    > I have an existing site created in Dreamweaver and live.
    I have created a
    > new
    > site within a folder Unnamed Site 3/ on the same local
    drive (not within
    > the
    > root folder) where this existing site lives. I did not
    want to name it
    > the
    > same name as my existing site name,so not to confuse any
    of the files-
    > since I
    > had to use some existing files and also create new ones.
    I have never
    > entirely
    > replaced an existing site with another using the same
    domain name.
    > Obviously
    > all my template files and pages have a path of Unnamed
    Site 3/Blah/Blah
    > throughout them. How (please tell me this is possible)
    do I change the
    > path
    > throughout to the existing domain name throughout the
    site files. I hate
    > to
    > seem so silly but I never had to put up a replacement
    site before. Do I
    > use
    > Change links sitewide? I have so much done already, it
    just wouldn't make
    > sense that there was not a way.
    >

  • Image Adjustments doesn't implement changes - help.

    Hope someone can help me with this:
    I am using Photoshop 11.0.1. I have two copies, one for myself and one for student workers in my office. For some reason, when we try to make an image adjustment -- such as changing levels or contrast -- we can see the preview of the change, but then when we click OK to implement the change, it jumps back to its original state and doesn't make the change.
    Any ideas why? This is driving me kind of nuts.

    I would try resetting the preferences by keyboard method or the manual way. I didn't see the operating system listed so you will have to scroll down to find the operating system if you do the manual way. Link:
    http://kb2.adobe.com/cps/405/kb405012.html
    Edit. windows 7 pref location is same as Vista.

Maybe you are looking for