Saving Preferences

Hello,
I have a list of employee names and when the user selects from this list, the user has the option to apply or apply and save the preferences of the employees selected. If the user clicks apply and save, logs off, and logs back in, the preferences selected from the employee list are selected and displayed...That works GREAT!
The problem is when the user clicks apply and goes to another page (without logging off) and comes back to the page, the employees that were selected from the list are still selected and displayed. But when logging off and logging back in, the employee names that were select when the last time the user clicked apply and save are displayed.
Is there a script or something that when the user goes to another page and comes back, displays the preferences that were saved? I noticed that APEX saves all the changes until the user logs off, is there a way for APEX not to save the preferences in some pages, when still logged in?
Thanks,
Bino

I tried putting this in a process (on load after footer):
BEGIN
APEX_UTIL.CLEAR_PAGE_CACHE('4');
END;
it clears it when I go to another page and come back. But now when i hit apply and save it applies the changes but when logging off and logging in it doesn't show the employees that i selected previously. It shows the one that i selected before putting the APEX_UTIL.CLEAR_PAGE_CACHE('4'). Am I putting this in the weong place?
i'm using APEX_UTIL.GET_PREFERENCE and APEX_UTIL.SET_PREFERENCE to save the preference.
Thank you,
Bino

Similar Messages

  • Lion not saving preferences

    I just switched to a new retina macbook, with os 10.7. I'm having trouble with Linotype Font Explorer X not retaining its settings - previously, you could turn a font on & it would stay on. Although sometimes it does retain some of the font settings, but not all.
    I've also noticed other programs occasionally not saving preferences.
    Is this a known issue with Lion?

    Make sure the systemprefs plist file is not locked. If it is, unlock it. If it isn't, delete it then restart.
    To find the file
    1. Make Finder active. Choose 'Go' from the menu bar, hold down the option key.
    2. Choose Library (you must have the 'option' key held down).
    3. Go to Preferences > com.apple.systemprefereces.plist
    4. Right-click (or hit 'cmd-i' on the keyboard) and choose 'Get Info'. If the 'Locked' option is ticked, untick it. Then Restart. If the 'Locked' option is not ticked, close the dialogue, remove the file to trash. Restart.
    5. What happens now is that system will restart at default system prefs. However, it should now save your new settings. To test it, just set one of the setting that you know didn't 'stick before', then restart and see if all is good. 

  • Mail - Error saving Preferences Msg

    I am unable to reset my junk mail filter. In Mail preferences I select RESET and this message pops up:
    Error Saving Preferences
    Writing your preferences to disk has failed. Your preferences may not have been saved. The permissions on -/Library/preferences may be wrong or your disk may be full.
    After getting this message, I used disk utility to repair permissions ( I did it twice and it appears that the same permission repairs occur each time I use repair permissions) I also tried to repair disk permissions usind Disk Warrior - with similar results.)  In addition, the disk is far from being full.
    Can anyone shed some
    TIA

    Amount of free space on my computer:
    Capacity: 499.76GB
    Available 432.54GB
    You are doing great on free space.
    I tried to "repair disk partitions" but this didnt work, and everywhere I looked on the web it would say that this does not work.
    It does work, but not for permissions issues on individual user files. It only has benefit on systemwide issues.
    I also did a complete TimeMachine restore. This didnt work.
    This is really only affective if you restore from a point in time when the issue did not occur which can be tough to know unless you try adding new Mail accounts every day.
    _Go to Your User > Library > Preferences.
    _Click on the Preferences folder once to highlight it.
    _Go to File > Get Info
    _Make sure that your user name is listed in the Sharing & Permissions window with Read & Write access
    _Go to the bottom of the info window and click on the pad lock to unlock it
    _Click on the cog / gear and then click on apply to enclosed items
    _Now try adding an account in Mail again.
    If the issue persists at this point it may be necessary to reset Mail which may require you to re-enter your account settings.
    Remove Your User > Preferences > com.apple.mail.plist to the desktop and then open Mail and try adding an account.
    Cheers.

  • Can i set different energy saving preferences for different accounts?

    Hi,
    I have bought an Mbox for my iMac. Its instructions for installation include disabling the energy saving features in Preferences.
    However, I also want to use the machine for many other purposes and would prefer to have energy saving activated.
    I set up a new account but it seems that energy saving preferences can't be different between different users on the machine? Is that true?
    I have tried unlocking and locking after making the change and switching between accounts (both admin accounts at present)
    imac   Mac OS X (10.4.7)   c2d, 2GB
    imac   Mac OS X (10.4.7)  

    Niel,
    When i entered the syntax exactly as you recommended, and as provided as example code within the general commands manual for PMSET ie
    do shell script pmset - a displaysleep 0 disksleep 0 sleep 0 password
    "password" with administrator privileges
    I got a syntax error "A identifier can't go after this identifier." and it highlighted [-a displaysleep]
    By inserting carriage returns to spread the command over lines, and adding brackets around the minutes, I got increasing acceptance of the script, up to the following point
    do shell script pmset - a
    displaysleep(0)
    disksleep(0)
    sleep(0)
    password
    "password" with administrator
    privileges
    at which point it said "The variable pmset is not defined."
    Can you suggest where I am getting stuck? Is something missing?
    Late news: A friend of mine found script on line which seemed to suggest that the following would be the format
    do shell script ("pmset displaysleep 0 disksleep 0 sleep 0") password "my password"
    with administrator privileges
    However, when i try to compile or run that it says:
    Expected “timeout” or “transaction” but found identifier
    and it highlights the word [administrator]
    If you can see where i am going wrong I'd love to hear from you.
    david

  • Error Saving Preferences on exiting Mail Preferences

    Hi, I am getting the Error Saving Preferences error on exiting Mail Preferences with advice to check disk space and directory permissions on ~/Library/Preferences. Not knowing what the official permissions should be I booted the iMac from the Leopard installation disk and in Disk Utility I repaired file permissions but this did not make any difference. I have followed other instructions I found in Apple Discussions which were for a previous OSX where I backed up the Mail directory and then moved ~/System/Preferences/com.apple.mail.plist to the Desktop. Per instructions I then fired up Mail which picked up my Mac account straight away but again on exiting Preferences without even adding any new mailboxes the same error cropped up... in fact I don't think a new plist was created. I returned the old plist and Mail directory.
    It may be worth mentioning that just before this problem cropped up I had been trouble-shooting another problem where every minute my active window would lose focus, I tracked this down to HP_scheduler (I have an HP all-in-one printer, C6180) and on killing the process the problem went away, but I think it was also a symptom of the real cause which is still unknown as the printer software has been installed for about a year, last update was months ago... but before I had tracked the issue down to this I had use MacScan2 to flush just my Safari caches and temporary files etc, it was running in authenticated mode, may mean something, may not. Subsequently to discovering HP Scheduler was to blame I uninstalled all the printer software using the HP uninstall package.
    Around this time a third problem transpired where settings were not being retained in various System Preferences. Unfortunately I didn't pick up on it straight away as being a third problem and now can't remember whether it started before the window lost focus problem or not. The first time it happened was when I tried to put MacScan2 into the startup list for my login, it could be added but on checking the addition it wasn't retained in the list and well I thought nothing more of it as it was the first time I had tried to do such a thing. Then I noticed the Mail issue just by chance and subsequently, through seeing someone else's problems logged back in 2006 I think, I noticed that although I could change screensaver I could not make a change in desktop photo stick.
    I have since reinstalled the printer software and I am no longer losing focus from the active window.
    However, I think it is probably the case that the Mail Preferences, Startup Items and Desktop Preferences issues are all the symptoms of one and the same problem and I would be very grateful if anyone is familiar with and/or knows of a solution to this issue.
    Many thanks for reading!

    Well, in the end I tried many things including lots of things that I thought wouldn't help such as cleaning out caches, running crons; I was using IceClean and pretty much tried every system maintenance option but to no avail. I have removed MacScan and have kept Norton, which this time found a few things in my .wine folder, but I have only performed a few full system scans as it takes a full day.
    This resulted in the knowledge that I would have to do a Leopard reinstall if that failed then a complete restore from TimeMachine which I knew would take ages, but fortunately the reinstall worked perfectly and effortlessly to solve the problem, and it only took 30 mins to update the security patches including 2 automatic restarts.
    Phew!

  • RichQuery Component - not saving criteria while Saving Preference

    I am using RichQuery component to advantage of saving preferences and picking them to execute it once saved. Using the out-of-box component with no customization.
    Criteria values are not as part of saving preferences.
    Ex. Ran the page, then enter criteria like employee name and then hit search button. It displays the result. Now saving preference using save button. I am thinking employee name(what i entered) will be saving as part of perference. Does this save criteria values? Somehow not saving it. Can anyone help me fixing this problem.
    Thanks

    Yes, I am using ADF BC viewcriteria for creating query component. Please try the sample from the below link
    http://andrejusb-samples.blogspot.com/2008/11/jdevadf-sample-adf-query-component-and.html
    Run the main.jspx file -> enter some criteria -> search -> then save -> give a name -> select the criteria from the dropdown.
    Thanks

  • Yosemite Mail mail not saving preferences

    OS X 10.10, Mail 8.0
    I have several mail accounts set up, a mix of POP and IMAP
    One IMAP account does not use secure authentication.
    If I set the preferences for the account under the Advanced tab, and tick 'Allow insecure authentication', then save preferences, I can send mail to the account.
    However if I return to Mail after 5 minutes or so the preference has changed back to disallow insecure authentication, and that mail account no loner works. I get a message:
    "Mail cannot send your password securely to the server. You can remove this restriction in the Accounts preferences by setting “Allow insecure authentication”, which could put your password at risk."
    I have a POP account for a different email address with the same provider, and the preference to allow insecure authentication is saved.
    I have tried deleting the account and setting it ip again, but the IMAP presence to use insecure authentication is still not saved.

    I have this issue as well.  This includes the inability of font preferences to stick, and the toolbar changes to be retained.

  • JDeveloper 11g Not saving preferences

    Hi.
    I'm not beeing able to save my IDE preferences. For example, by default the option Line Gutter - Show Line Numbers, is not checked. If I check this option, and click ok, when I open the preferences again, the option is not checked.
    This is happening for any option I change, another example is the option JSP and HTML Visual Editor - Show design time messages in log. I cannot set this property.
    Any idea on how to fix this ?
    Thanks a lot,
    Sincerely,
    John

    I think I've solved the problem.
    I started JDev, in console mode (using jdev.exe).
    When I clicked ok in the preferences dialog, I got the following stackTrace:
    Exception initializing 'oracle.ideimpl.webbrowser.ProxyAddin' in extension 'Web Browser and Proxy': java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at java.util.Properties.setProperty(Properties.java:143)
    at java.lang.System.setProperty(System.java:731)
    at oracle.ide.webbrowser.ProxyOptions.applyToCurrentVM(ProxyOptions.java:590)
    at oracle.ideimpl.webbrowser.ProxyAddin$1.stateChanged(ProxyAddin.java:56)
    at oracle.ide.config.ChangeEventSource.fireChangeEvent(ChangeEventSource.java:120)
    at oracle.ide.config.ChangeEventSource.fireChangeEvent(ChangeEventSource.java:103)
    at oracle.ideimpl.webbrowser.ProxyAddin.initialize(ProxyAddin.java:59)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:405)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1837)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1495)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:166)
    at oracle.ideimpl.Main.main(Main.java:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:67)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:59)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:721)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    This led me to think that my proxy configuration was wrong. Went to the proxy configuration option, and I noticed that "Proxy server requires authentication" was checked, but my user and password were null. I filled these fields and clicked test Proxy. Got the same stackTrace, and after clicking ok, returning to the prferences dialog box, the user and password was not saved. What I did was, wen to the Check for updates under the help menu, and when it tried to connect, it couldn't because there were no user and password information saved. It showed me a dialog to put the user and password. After I've filled these fields, it did connect to Oracle update site. Closed that window, and went back to the preferences dialog. Then the user and password were saved correctly. Clicking on the test Proxy button, did not give me any stackTrace. Tried to change the Line Gutter setting, clicked ok, and the re-opened the preferences dailog. The properties was saved correctly.
    Thanks for all the help.

  • Photoshop not saving preferences

    I am having an issue with Photoshop not saving my preferences. I have created my own workspace but everytime I quit the application and restart it I still have to go through and reset all my preferences. Any thoughts on this?

    I believe that would be the date that our tech team installed CS5 on my new computer. As a side note, our tech team consists of all PC people, there isn't one Mac expert among them and they didn't seem too confident setting the user accounts up. The entire team has had nothing but issues with our brand new macs + CS5. But I am not sure what part of that is Apple/Adobe/Tech fault.
    When I "get info" on the settings folder my user account does not appear in the list. I changed the settings so that everyone has read & write permissions and that solved the problem. But that seems odd to me. Like I might have a much bigger permissions issue...?
    Anyway, problem solved! Thanks Chris!

  • Saving preferences with JSP

    I have an application for which I'd like to develop a web interface. I've never really worked with servlets, but know Java and PHP fairly well. In PHP, I'd create a page which would save the user's input to a file, then use this data to connect to a database. On the desktop application I've developed, the data is saved using java preferences. I'm unsure how to save this data for use with a JSP. The user would need to enter a password (which would ideally have to be set from the desktop application), and could then use the JSP page to access the database. Is there any way I could save such a file using a JSP page, then load the settings from it?

    Download the classs files for servlet from:
    http://java.sun.com/products/servlet/download.html
    To run/test your servlets/JSP You should also download a servlet/jsp capable web server e.g. Tomcat:
    http://jakarta.apache.org/tomcat/index.html
    Find some good tutorials here:
    http://java.sun.com/developer/onlineTraining/index.html

  • File Saving preferences

    We are new to using OSX in our newspaper production. When we receive new images, by e-mail for example, we open them up, touch them up, and save them in their proper folders. It used to be that once we saved one image to its new locations, the application "knew" that the next save would be to that new location, too. But now every application goes back to the original folder. This is very time consuming. There used to be a way to fix this, in system preferences somewhere. But I can't find it in OSX. Any suggestions?

    It's not (and never has been) a "feature" of OS X. However, you can purchase the shareware utility called Default Folder X (VersionTracker or MacUpdate) which provides that and many other conveniences well worth the shareware fee.

  • Problem Saving preferences

    Photoshop Elements 9. In preferences - Saving Files, I select append extention and in lower case. When I click OK the preference panel closes but when I open ir again, t=my selection reverts back to never. How can I save my Choices?

    Yes, this is a known issue with PSE 9/mac. So far, the only solutions are:
    1. Quit PSE, go to your username>library>preferences and delete:
         com.adobe.PhotoshopElements.plist
         Adobe Photoshop Elements 9 Paths
         Adobe Photoshop Elements 9 Settings
    and don't go back into that particular preference window again.
    or
    2. Type the extension manually each time you save.

  • Saved preferences in safari and desktop settings completely erased

    I opened up Safari and suddenly realized that all of the saved bookmarks and preferences were gone, and the same thing happened when I opened up Firefox. So I thought restarting the computer might help.
    However, after the computer (an eMac running 10.4.6) finished booting up, I noticed that all of the desktop preferences had been erased as well. Saved passwords, keychains, etc. all disappeared. The desktop background image was replaced with the default blue background. All of the saved dock preferences were gone and replaced with the default dock settings.
    I was wondering what happened, if it is at all possible to fix, and/or if there is possibly a bug going around. Any help or information would be extremely appreciated. It would be awful if this happened the other macs at our office.

    ducanedesigns,
    How much free space is available on the hard disk? Is Filevault in use?
    It is imperative that you have at least 10-15% of your hard disk available as free space in order that OS X can function without the threat of data loss.
    Freeing space on your Mac OS X startup disk, also by Dr. Smoke will help you identify methods which you can use to increase the free space on your startup disk.
    ;~)

  • Set file-saving preferences

    This question was posted in response to the following article: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fce.html

    Is there still a bug in the Saving part of Elements Preferences for the Mac?  Did version 10 correct it?

  • SQL Developer not saving preferences

    Downloaded SQL Developer 1.5.4 recently. When I go into Tools/Preferences and change any preference and click OK and when I go back in the updates are gone. Defaults are there. I have tried changeing the preference, clicking OK, exiting SQL Developer and opening it up again and the preferences are back to defaults.
    How do I get the preferences to save

    I have tried saving Theme and it doesn't even save when I Close and re-open Tools/Preferences. I've tried to save Code Editor/Line Gutter/ Show Line Numbers with the same result. I also thought that I had the feature to specify a default directory to Open and Save files to and from in the version I upgraded from.

Maybe you are looking for