"Changes Made" during the closing - how to get the user's response?

When you press the close button after the change of some fields in text on a form, how can I find out what the user has selected? (Save, delete, cancel)

Hey,.

I found this link:

http://www.BlackBerryForums.com/developer-forum/184021-save-discard-cancel-prompt-capture-button-SEL...

After reading it, I wrote a little lil of the code.

public boolean onSave()
    {
        Dialog.alert("Saved Data");
        return true;
    }

It works for me and made the work of what I need. In my application, I want to save the data that a user makes when they leave the page. This code is called if 1) a change has been made on the page, and 2) if the user clicks on the "Save" option in the save/discard/Cancel dialog box.

Hope that helps

Mike

Tags: BlackBerry Developers

Similar Questions

  • How to get changes made to the TLF text

    Hello

    Is there a way to TLF to get the number of changes made to the TLF text? Like if I applied underscore of a text or changed the font size, etc.

    Can I get these changes made to the text?

    As whenever I do an operation, can I keep the operation whenever an operation is complete.

    UndoManager can undo changes through the EditManager, but not the changes directly to the TextFlow. Similarly, we do operations and send messages of operation for the things happening across the EditManager. I would say that if you want to remove the terminal node, you can remove it by getting his range of text and remove it through the EditManager. Then, the change would be infeasible. Try something like this:

    editManager.deleteText (new SelectionState (textFlow, leaf.getAbsoluteStart (), leaf.getAbsoluteStart () + leaf.textLength));

    -robin

  • How to merge the changes made to the same analysis?

    Hello

    I have an analysis and there are two issues raised against it, in a real environment.

    In development, the problems starts at the same time. However, only the first resolution should be tested. Assuming that the first problem is solved, how can I "apply" the changes made to the second issue fixed / fixed?

    What are the means and best practices in this situation? OBIEE version is 11.1.1.7.0.

    Thank you.

    Kind regards

    Maury.

    You can use a text editor such as Notepad ++ and the plugin in comparison to compare the XML from the analyses and differences in merger.  That would be the fastest easy/more...

    Just a word of warning - this is completely not supported by Oracle and can VERY easily lead to a corrupted analysis. You'll find plenty of OBIEE'ers experienced out there who have hacked the XML on analysis, but you have also messed up in the process. Always make sure you have a backup and Don ' t cry about it if it breaks.

    To the OP - I don't think that there is a good answer to this problem. The analyses are simple objects, there is no option of merger for them.

  • How to see changes made to the file in Oracle EBS on browser

    Hello

    When I change any file such as Javascript or Base.htm or all the files on the EBS server and it does not reflect on browser until then I restart the server of the EBS. After restarting the server, it reflects the browser but the EBS server restart is not so easy. It takes more time to restart.

    If anyone knows another way to see the changes made to the file on the browser, then please reply to this post.

    Thank you very much

    Othmane

    Othmane,

    Take a look at the link below. It answers your question.

    http://www.appsdba.info/docs/oracle_apps/R12/HowToUpdateJavaCodeClass.PDF

    See also:

    Welcome to my Blogspot Oracle: Bounce Apache Server - Oracle Apps R12

    See you soon

    AJ

  • Why Adobe Muse is stuck while trying to merge changes made in the browser edition?

    My client contacted me this morning to let me know that one of his pages on its website was down and that it is urgent that it gets fixed. I immediately tried to open the Muse to merge the changes and re - upload the files. I did not work. Muse is stuck in the fusion of customer changes made in the browser edition. So, I called Adobe and have just spent two hours on the phone with a representative of Adobe Muse trying to solve the problem. It reaches point merger/day 2/3 of the files then crashes. The representative asked me to update to Muse that I did and again tried to merge the changes, and it did not work. Then, the representative asked me to change the Preferences of Muse folder in the library of 'old' then I was instructed to uninstall Muse and re - install on my computer. I did it. It still does not. Then the representative asked me to create a new user on my computer. What? Which makes no sense at all. When I asked to speak to the level 3 technical support, I was told that no one was available, but that she would have a supervisor call me back in a few minutes. I'm still waiting for a callback.

    For my client's site is not down, I decided with the permission of my client to not merge the changes she made and simply re - download the file I recorded previously.

    Can you get it someone please let me know how to solve the problem with ability to Muse to merge updates so that the next time this happens, I'm not wasting two hours on the phone and still not return the right answer or a call from Adobe? Gets a little frustrated by the lack of product support. Thank you.

    Hello Andrea,

    First of all, I apologize for bad support experience you had. I forwarded this thread on the support Manager to take a look.

    It sounds like you hit a bug we have heard reports of the but have not yet isolated, when merging text. There are probably setting a text which, when trying to merge, plant Muse. Until fix us the bug, the best work around is to find this block of text (usually by clicking on merge on each change until it crashes in the Muse, sorry), restart Muse and then jump merger than one change. Afterwords, re-do the changes as part of this text by hand. I know this isn't a great work autour, but it should at least get you operational return.

    Best,

    Sam

  • changes made to the code do not appear in the file swf, even trace instructions not.

    I just picked up a clients flex project and I can't get the app to reflect even a simple statement trace.

    Before that I took over, the project was built last successfully with the environment/sdk Flash Builder Beta 2. I have the latest version of Flash Builder 4.

    To import the project into FB4, I get a ton of errors.  Most of them, mainly because of changes made to the beta2 sdk for free.

    Some of the things that I fixed:

    -mx to library://ns.adobe.com/flex/mx library://ns.adobe.com/flex/halo namespace

    -player video count: many names of the State for the video player component had been changed, more correctly States had been added.  There are also other related component video and property names that needed to be updated.

    But I have corrected this and the application is finally able to compile (but with a few caveats the type of variable in double especially)

    The only thing is now that any change I make to the project is not reflected in the build (debug or release).  I have changed the existing traces, added additional traces. Nothing is displayed.  I even removed the applicationComplete property in the main.mxml.  Still, everything worked as nothing has changed.

    Also I can't debug the application.  Whenever I try to debug... Flash builder said... "Swf application contains no debug information required...". "

    Anyone has any idea how to even begin to tackle this? Any help or pointers would be greatly appreciated.

    Hello

    Have you tried to project-> 'clean' the project?

    Also, instead of wasting more time with the import, I try and create a new project in FB 4 and copy all the code sorce and assets in the new project. Flex 2 has been a long time ago.

    Mike

  • Changes made to the database

    Hi friends,

    How to find changes made to the last the two level database and the physical object? (without going for logminer or audit). Please suggest me.

    Thank you
    KSG

    As... How findout what are the procedures/tables/views (added /deleted/ modified), tablespace/data files (added/removed) to a particular database the previous day? *(without Going for Analysing LogMiner, or Auditing) *. Please suggest other is possible to find it?

    procedures/tables/views (added modified /deleted/) - ONLY by views

    have a look at http://vsbabu.org/oracle/sect06.html

    or

    Select * from dba_objects where LAST_DDL_TIME > SYSDATE - 7;

    to add/remove data files, check the file path of the controlfile

    Thank you

  • I bought my computer from someone else. Change user accounts did not name of each file in the computer. How can I change or remove the user/name (my name) /document? __

    I bought my computer from someone else. Change user accounts did not take their name off of each (or more) file in the computer. How can I change or remove the user/name/document
    I have looked everywhere and changed user information and the name of the administrator. What can I do else?

    Hello flashgordonjxn,

    Who has ever done the installation of Windows, the installation program asks you to enter your name and optionally, the name of the organization. These registration information appears under recommended for in the general tab of the System when you click Start, click Control Panel, click performance and Maintenanceand then click System.

    To change see instructions below:

    1. Click Startand then click run.
    2. In the Open box, type regedit, and then click OK.
    3. Look for the following registry key:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    4. To change the name of the company, follow these steps:

      In the right pane, double-click RegisteredOrganization. Under value data, type the name that you want, and then click OK.

    5. To change the name of the registered owner, follow these steps:

      In the right pane, double-click RegisteredOwner. Under value data, type the name that you want, and then click OK.

    6. Click Exit on the file menu to exit the registry editor.

    Hope this helps you. Let us know anyway. Make it a great day!

    "And in the end the love you take, is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)

  • JAR: Changes made to the file packaged AP Project_1007.ini require restarting services by BDUS to enter into force?

    Hello

    I have a small doubt regarding the changes made on the packaged AP Project_1007.ini AP Imaging project file.

    I have a supplier search button in my auditor and I must make a few changes to the application of it. This provider search query is defined in section search provider OFR the AP packaged Project_1007.ini file.

    I added my additional condition in the where clause of the query to extract from sellers. But when I check in the WebVerifier, I don't see reflected.

    So in general, any changes made to packaged AP Project_1007.ini requires a restart of the services/auditor of WFR etc. of have reflected them?

    Let me know if I am not clear with my question.

    Kind regards

    Srikanth R

    Usually just stop and start the console RTS toured, but sometimes you need to restart the icons green funnel management service. A script is maintained in the project, no not the ini file, you must make sure that you save the project after adding or editing a script in designer of as it warns you not save changes

  • Tracking of changes made by the customer?

    Is there a way to track the changes made by the receiver/writer on some fields in a form? I need some fields to be open to both the sender and the signatory, but need a way to indicate if one of these fields have been modified by the signatory prior to approval.

    Anyone know of a way to do this?

    Thank you all.

    Red Hello,

    By default, a field can be assigned to anyone as well but if it's full of any beneficiary, then it becomes read-only and cannot be modified by the other beneficiaries involved in the transaction.

    Kind regards

    -Usman

  • Attribute removal during the 'user disable' workflows in the OAM

    I'm setting up a workflow to "Disable User' OAM. I would like to delete a few attributes (role Id, Id dept Say) of the user during the user to disable this task. (Turning off the user can disable the attribute manually, but I wanted it to be automatic).

    No idea how to do this?

    This is possible. I leave principle OAM 10 g and also that you have configured a workflow 'disable user' in the user task manager. To achieve what you ask, you will need to do all the following:

    -write a piugin PPP (read the dev guide please) that does what you want to do with the user's profile
    -Fix the plugin as "external event" in the workfilow.

    I hope this helps. Let us know.

  • Coming out of the block how to invite the message like "do you want to save changes?" so any changes made in the current block

    Hello

    I'm working on the Oracle forms 6i. I have a custom query search window (do not use the Oracle QUERY_FIND seeded window feature). Build manually (BLOCK_1 and WINDOW_1). When I click on the search button, then I Block table that has windows (BLOCK_2 and WINDOW_2) and in this form, I have a button called details. When I click on the Details button, it opens the details Block (BLOCK_3 and WINDOW_3).

    There is no functionality seeded t define the relationship of master details. (everything is customized)

    Now, if the user has made a few changes on the block of retail and click the X (close) on this window without COMMIT the record, then how can I display a message to the user as a block level saying that "Do You want to save changes?" and after selecting one of the action i.e. Yes, no or cancel how to perform the action according to the user's action.

    This form I have three different blocks and WINDOWS for individual block so when i have all three open window and click on F4, then it closes all windows of three then how can I close the window when the user uses them short key F4 to close the window.

    Thank you very much in advance.

    Melanie,

    Thanks for the update. I tried KEY-EXIT, WHEN now-BLOCK-INSTANCE, KEY of VALIDATION, but unfortunately these triggers are not fired. I found the work around that.

    I made after the code in the APP_CUSTOM package in the close_window procedure.

    IF: SYSTEM. BLOCK_STATUS = 'CHANGE '.

    THEN

    FND_MESSAGE. SET_STRING (' do you want to save the changes you made?) ');

    l_button:-fne_message.question(button1...icon);

    and then based on the user action that performs the action.

    END IF;

    It works for me. Problem solved.

    Thank you very much for your time and your suggestions.

  • Muse of update and changes made to the homepage now get this error... error message by calling the selection function: security error: cannot read the iframe content of html document

    Changes made on my homepage and it looks a lot like the preview in the browser, but when I upload it to my server I get the below error message. Help, please!

    muse-error.jpg

    It is common for opening a locally implemented Web site containing social widgets or any other third part code to generate errors of security because it will be loaded in the browser using the file:// Protocol. When a site is presented as a preview of Muse (Muse or in the browser) or transferred to a hosting provider, it is served using the http:// (or https://) Protocol and security errors do not occur.

    Frequently, the code of third party that comes with using social widgets or any other things that rely on the third party and/or services code is not designed to work through the file:// Protocol.

  • What happens to changes made to the file during a p2v/v2v conversion?

    We are eager to do a V2V conversion on a file server that has a data partition on thick disk of provisioned to get slim with HDD resize.  I started an online conversion (vm under tension) and things are going very well, but what happens to files that are modified on the server while this process takes place?  Virtual machine changes source is written to the destination virtual machine towards the end of the conversion process?  Similar to when you migrate to another host/store data?

    I looked through the converter and the importer a few user guides, but I've seen no mention of this.  They were older documents, I found for esx 3.x.

    Someone at - it a document or advice on this?

    Thank you.

    5 converter has the ability to intercept any change during the P2V conversion of post synchronization. There are two types - a regular synchronization and let the live conversion or a final synchronization that complements the P2V.

  • Can't save changes made to the photos. Claims "error in Gallery blocks save ' how can I save the changes?

    When cropping or erase red-eye or auto adjust color, a box appears that says, error in Gallery blocking save.   Very frustrating...

    ==========================================
    Windows Photo Gallery... Cannot save modified photos...
    ==========================================

    No guarantee, but the news shows might offer some ideas.

    Proceed at your own risk *.

    Good luck...

    --

    (1) try to do a system restore to an hour before
    the problem started.

    With the help of the Windows Vista system restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    --

    (2) I've seen reports that this problem may be related
    Kodak Easy Share software. Installation "Kodak
    Single-action Version 8 for Windows from the
    the following link may be the solution.

    Kodak Easy Share 8 software version
    http://www.kodak.com/eknec/PageQuerier.jhtml?PQ-path=130&PQ-locale=en_US&_requestid=5320
    (FWIW, it's a good idea to create a system)
    restore point before installing software or updates)

    --

    (3) I saw reports that could clarify the next steps
    until the question...

    Right click the library icon and choose
    "Run as Administrator"

    --

    (4) I copied the info from a tech forum on
    the net... I don't know if it works, but maybe it's
    worth a try:

    A. right click on Task Manager open the
    taskbar on the bottom of your screen and choosing
    The task in the menu Manager.

    B. click the tab process, along the upper part of the
    The Task Manager screen.

    C. in the process tab, select the corresponding button at the bottom
    left of the screen that says "show processes of.
    all users"and click on it. Click 'Continue' to the UAC
    the prompt that appears.

    D. the screen should turns off a moment, then
    back with much more than process listed. Click
    the "Command line" column to sort the list and
    Search:

    "C:\Program Files\Windows Media Player\wmpnetwk.exe"

    Read the description in the next section on:

    Windows Media Sharing Service reader network

    F. click on this process. Click the end «»
    Treat button"at the bottom right of the screen.
    Confirm 'End process' if necessary.

    You should now be able to save your changes to
    your photos normally. The bad news is that this
    should be performed whenever you start or restart Vista.
    And I don't know how to prevent the situation from
    in the first place of loading.

    --

    5) posted by: artologik
    The solution came to me when I could not recreate
    the problem on a laptop with Vista Home.
    Everything I could compare, I noticed that the
    %Path% environment variable was not between different
    the 2 machines.

    I guess that WLPG relies on the dll must be found
    on the way to the system; When not found, it must return
    Back to ' base or incomplete "library finds it
    the default specific paths or the user. The solution for
    me has been to ensure the entire path system
    to the folders in the order appropriate.

    To fix, follow these steps:

    A. right click on the COMPUTER icon on the
    desktop and choose PROPERTIES

    B. choose ADVANCED SYSTEM SETTINGS

    C. Si you are prompted by UAC to allow, go ahead.
    and ALLOW

    D. click on ENVIRONMENT VARIABLES...

    E. in the bottom half, under SYSTEM VARIABLES,.
    Find the PATH variable and highlight the

    F. click the button CHANGE

    G. ensure that what starts with
    % SystemRoot%\system32;%SystemRoot%;

    H. ensure you that a semicolon separates each entry.

    I. click OK three times

    J. restart the computer

    Good luck...

Maybe you are looking for