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

Similar Messages

  • How can you get back to the registration screen to change information once registration is complete

    how can you get back to the registration screen to change information once registration is complete?

    You don't have to. Just go to Apple's Express Lane and add products.

  • Per_all_assignments_f in table how to capture change information only

    Hi
    i want to capture in Report Changes Field Summary in Assignment form. When ever change in assignment form , that change information goes in Data Track History Form. In this Data Track History i want to chapture Mainly "Changes Field Summary". how to ? can you please any idea.......

    Hello,
    Please check these FMs:
    CHANGEDOCUMENT_READ_HEADERS    Change document: Read change document header
    CHANGEDOCUMENT_READ_POSITIONS  Change document: Read change document items
    These FMs are designed to read change logs of specific fields. They access data from tables CDHDR and CDPOS.
    Thanks!

  • HT1918 still cant save the change i did in the billing information. how do i contact itunes support to complete the transaction?

    still cant save the change i did in the billing information. how do i contact itunes support to complete the transaction?

    http://www.apple.com/support/contact/

  • How can I change Information/Error Heading texts

    I want to change Information/Error Heading texts that are shown during error and message notifications
    at top of the UIX pages. (I am using UIX/Struts/BC4j with jhs 9.0.4.5)
    I have changed the values of "ERROR_HEADING" , "ERROR_PAGE_HEADING" , "INFORMATION_HEADING"
    keys in the generated resource bundles, but nothing has changed.
    It looks that modifying these keys has no effect at all.
    Where is my mistake?
    Does anybody have solution for changing these headings ?
    Thanks for your help.

    Navid,
    These entries are used when generating JSP pages.
    In case of UIX the error and information headings are controlled by UIX, just like the detail disclosure text you mentioned in the other thread. So, change the language of your browser and you should get a different heading.
    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?

  • Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive.

    Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive. (The problem is that Safari could not download the file "iTunesSetup.exe" because there is not enough free disk space.Try deleting documents or downloading to another drive) ... Perhaps this is the main problem why can not open iTunes and inscription is: the folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "Music" folder. - And after options ok, appears option: Choose iTunes Library with inscription iTunes needs a library to continue. You may choose an existing iTunes library or create a new one - but still following options Choose Library and the following options can not open iTunes ... Please for instructions on how to eliminate the problem or eror ...
    Mac is running OS X v10.6.8, Safari should be 5.1.10. Or  Mac OS X  /  Version  10.6.8  /  Build 10K549 / Serial Number W8****ATM  /  Processor 2.4 GHz Intel Core 2 Duo  /  Memory 4 GB 1067 MHz DDR3 or More Info:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2,4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1,07 GHz
      Boot ROM Version: MBP71.0039.B0B
      SMC Version (system): 1.62f7
      Serial Number (system): W80394HFATM
      Hardware UUID: 94647506-C5D0-5D73-BC7F-FC680D238F43
      Sudden Motion Sensor:
      State: Enabled
    <Personsl Information Edited by Host>

    buy an external HD   1TB for $60
    NO notebook is a mass storage device, so dont try to turn it into one, it doesnt work that way.
    Unless youre using it every couple weeks, its static data and should be on an external HD
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace.  You should never be put in the position of considering “deleting things” on your macbook SSD in order to ‘make space’.
    Professionals who create and import very large amounts of data have almost no change in the available space on their computers internal HD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your macbook has a HD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your computer to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.

  • [svn:fx-trunk] 12912: With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed .

    Revision: 12912
    Revision: 12912
    Author:   [email protected]
    Date:     2009-12-14 12:08:35 -0800 (Mon, 14 Dec 2009)
    Log Message:
    With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed.
    An unqualified id property will no longer be seen as a setter for a normal public, writable, non-static "id" property - which matches Flex 3 behavior.
    As in earlier versions of Flex, the mechanism to retain MXML id attribute information at runtime is to implement mx.core.IMXMLObject. The compiler will generate a call to the intialized() method and pass in the id information.
    Note: One exception to this rule seems to be UIComponent which instead get id attribute information via mx.core.IDeferredInstantiationUIComponent (although there seems to be a TODO in the codebase to remove this mechanism and thus should not be relied on by third parties).
    QE notes: Please add tests for the TLF id property on flow elements (div, span, p, etc).
    Doc notes: Please check that we have not documented
    Bugs: N/A
    Reviewer: Paul
    Tests run: Checkintests, local test cases.
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.as

    This is a duplicate post.  This should be locked to avoid further confusion.
    My CSS wont change
    Nancy O.

  • Information how Ariba works with SAP

    Hi All,
    I searched in WEB but could not find enough information how Ariba helps to work with SAP.
    Can you please help me to understand how Ariba works in procurement, sales and financial accounting with SAP.
    Regards,
    Prakash

    Dear
    The followings are from SDK online help. FYI
    SAP Business One SDK enables partners and customer to extend and change the functionality of SAP Business One to create industry specific functionality, develop missing functionality, and interfaces with 3rd party tools.
    The SAP Business One SDK consists of:
    SAP Business One Data Interface API (DI API)
    A collection of COM objects called business objects. These objects describe various methods for updating, retrieving, and manipulating data in the SAP Business One database.
    SAP Business One User Interface API (UI API)
    A collection of DCOM objects that provide access to forms, controls within these forms, and menus. DCOM (distributed component object model) is a standard interface for object communication in distributed applications.
    DI Server
    A COM service running on a server that enables multiple clients to access and manipulate SAP Business One company database, using SOAP version 1.1 messages.
    DI Java Connector
    An interface to DI API objects from Java. With Java Connector, you can conveniently get or set properties and invoke methods of the DI API objects with Java-bean-style code.
    best regards,
    xiaodan an

  • Changes information required in resource planning

    Hi all,
    I am looking a solution to capture change information in resource planning, example i have planned resource and time in activity person assignment tab but later on i changed resource and planned hour in activity person assignment tab so how can i get changed information for the same.
    I tried at my level best but not yet found any resolution looking for any expert advice.
    Thanks,
    Vishal Kr. Sharma

    Hi Mehdi ,
    You can check out the VPD concept provided by Oracle in which you can apply the security on the required schema/table only and it thus meet your requirement of providing security option to one schema and not to the other of same database.
    -Shefali
    null

  • After the latest update was completed, I couldn't open the firefox browser. I received an application error. I tried restarting the Windows OS but no change. How do I fix this?

    After the latest update was completed, I couldn't open the firefox browser. I received an application error. I tried restarting the Windows OS but no change. How do I fix this?

    If not this:
    http://www.mcelhearn.com/deleting-the-itunes-album-artwork-cache-folder-may-reso lve-problems-with-album-art-displaying/
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
      - Restore to factory settings/new iOS device.                       

  • HT5622 In my IPad, under settings, ICloud, under ''advanced'', there is an E-mail address that needs to be changed. How ?

    On my Ipad, under Settings for ICloud, under ''advanced'', there is an E-mail address that needs to be changed. How do I do that ?
    On my IPhone5, the address under ''advanced'' has been changed automatically to the right @icloud address.
    Thanks

    Hi jeanrobca,
    Welcome to the Support Communities!
    If the settings for your Apple ID have changed, you can edit and update that information by clicking on the link below:
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Click on My Apple ID to access and edit your account.
    Then you can sign out of your iCloud account and sign back in with the corrected information.
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_US
    Cheers,
    - Judy

  • Re-register/change information for iTouch

    Gave older iTouch to family member, how do I re-register/change information/transfer to new owner?

    Hello
    They can visit the following website below.
    https://register.apple.com/cgi-bin/WebObjects/GlobaliReg.woa
    If you require further assistance in getting the iPod Touch transfered over to the new family member. Feel free to contact iPod Touch support for further assistance.

  • 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

  • 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.

Maybe you are looking for

  • How to set duration on multiple still images?

    Is there a way to select a range of stills within a project and set the duration of them all to the same value. One can copy the image adjustments from a still and then paste that to multiple stills, but there isn't a Paste Adjustments menu item for

  • IT0027 Costribution - More than 8 entries not allowed

    Hi all, I have an issue with IT0027. We work on ECC 6.0 release 700.  For infotype 27( Cost Distribution ) able to give only 8 entries in table control. I cannot add more than 8. Even the  + and - buttons for table control are also on the Tool bar. I

  • Changing a Pcs date and time

    Can anyone tell me which Windows dll is used to change the date and time.

  • DWCS4 Extension installed but not available

    Hi, I downloaded "open picture window fever", an extension from http://dreamweaverfever.com/extensions/. It installed successfully into the dw extension manager. After restarting dw I expect the extension to be availble in the Insert drop down menu l

  • Ath5k probs after new kernel upgrade (/kernel26 2.6.34.3-1)

    I just did a pacman -Syu and the new kernel /kernel26 2.6.34.3-1 causes issues with my ath based card. Ath5k is the kernel module I've used, and now I get a bunch of calibration errors in dmesg.  Is anyone else having this issue?  I'd rather not go b