JSF Command Button and Command Links

The main page of my JSF application has a Save button and Command Links. After making any changes on the main page the user should click Save before using any of the Links. Most of the time almost all users do this. However, some users are making changes then clicking a Link, thereby losing their changes.
I could always execute my save method in the backing bean when a link is clicked, but, most of the time this would be doing a lot of processing which usually would not be necessry.
Is their some way to check if any changes have been made and then doing the save only when necessary?
Regards,
Al Malin

Anybody?
What would be beneficial is something like this. If somehow it could be determined if any of the JSF fields on the page were modified. Then, in the backing bean method that handles the ActionEvents for the links, I would check if changes were made and, if so, call my save method.
In other words is it possible to determine, in the backing bean, whether or not JSF fields have changed?
Regards,
Al Malin

Similar Messages

  • Why when I press the command button and number two, yahoo comes up instead of the 'at' key? how can I fix the command shortcuts? help me please.

    why when I press the command button and number two, yahoo comes up instead of the ‘at’ key? how can I fix the command shortcuts? help me please.

    try pressing the shift and 2 key to get the @ symbol.
    if that doesn't work for you - go to system preferences - keyboard and change it there.
    good luck

  • I can no longer use the keyboard shortcuts, 'command  C' and 'command   V'.  Did I inadvertently do something to my keyboard or computer that caused this?  Is there a way to fix it?

    I can no longer use the keyboard shortcuts, 'command  C' and 'command   V'.  Did I inadvertently do something to my keyboard or computer that caused this?  Is there a way to fix it?

    You can also check in System Preferences > Keyboard > Keyboard Shortcuts, make sure that custom shortcuts were not created using those same commands. If ones were, they could be creating a conflict. Step throuogh each of the items in the left list, checking the array presented in the right pane for each.

  • How to connect one page using button and by link in BSP

    how to connect one page using button and by link in BSP

    hi,
    use on 'onclick' functionality.
    1. In layout, onclick = 'NEXT_PAGE' of the button
    2. Capture the event in onInputprocessing,
    DATA: event_id TYPE REF TO  cl_htmlb_event.
    case event_id.
    when 'NEXT_PAGE'.
                navigation->goto_page( 'URPAGE URL' ).

  • Command-delete, command-left and command-right not working as expected

    On a Mac (in my case OS X 10.6.8) when entering text into a text-field or text-box 'command-delete' in any other application deletes everything between the cursor and the beginning of the current line. I'm using Firefox 10.0.1 and this does not work.
    Also, in certain rich text editors such as Gmail's compose mail text-box 'command-left' and 'command-right' which would usually jump to the respective beginning or end of the current line doesn't seem to work.

    Try:
    Create Table ImportLog
    ( recid int,
    grouploadid int,
    groupid int,
    tablename varchar(128),
    note varchar(500)
    Insert Into ImportLog
    Values
    (1,216,1,'tableb','noteb'),
    (2,217,1,'tablea','notea'),
    (3,217,2,'tableb','noteb'),
    (4,217,1,'tablea','notea'),
    (5,230,1,'tableb','noteb'),
    (6,244,1,'tablea','notea'),
    (7,244,2,'tableb','noteb'),
    (8,244,3,'tablec','notec'),
    (9,217,3,'tabled','noted')
    select r1.RecID, r1.GroupLoadID, r1.groupid, r1.tablename, r1.note,
    r2.RecID, r2.GroupLoadID, r2.groupid, r2.tablename, r2.note
    from ImportLog r1
    full join
    (select RecID, GroupLoadID, groupid, tablename, note
    from ImportLog
    where GroupLoadID = '217'
    ) r2
    on r1.TableName = r2.TableName and r1.Note = r2.Note and r1.Groupid = r2.Groupid
    where r1.GroupLoadID = '244'
    order by 1
    GO
    DROP Table ImportLog
    GO
    RecID GroupLoadID groupid tablename note RecID GroupLoadID groupid tablename note
    6 244 1 tablea notea 2 217 1 tablea notea
    6 244 1 tablea notea 4 217 1 tablea notea
    7 244 2 tableb noteb 3 217 2 tableb noteb
    8 244 3 tablec notec NULL NULL NULL NULL NULL
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • We have been having a problem with newsletters for a client. The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!

    We have been having a problem with newsletters for a client.
    The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!
    This happened last month too. It seems to be related to length of the newsletter too. It works on every device except iPhones - so weird.

    Hi, is anyone else experiencing i-phone only problems on email campaigns? not bashing Apple, just having issues where our newsletter are only having issues on iPhones

  • I have a new iMac, running Mountain Lion, with CS6. I have the tablet with the keyboard. I'm finding that in CS6 I have to type command-C and command-V repeatedly to copy or paste anything. It is not the keyboard; I've switched that out. What is it?

    I have a new iMac, running Mountain Lion, with CS6. I have the tablet with the keyboard. I'm finding that in CS6 I have to type command-C and command-V repeatedly to copy or paste anything. It is not the keyboard; I've switched that out. Is it some kind of tablet interference?

    Yes, EEK!
    Have you run Microsoft Update and installed the latest 14.2.4 Office update yet?
    Humor me. When you perform copy, do you then establish keyboard focus by clicking the mouse pointer on the destination screen for the paste action -- before keying the paste?
    Have you installed any third-party keystroke mapping software that may be getting between the operating system and these two applications?
    Under System Preferences > Accessibility > Keyboard, have you enabled Sticky, Slow, or EEK! Keys?
    In System Preferences > Keyboard > Keyboard Shortcuts > Keyboard & Text Input, doe the check marks look like the following:

  • Has the options for custom command buttons and scripts been removed from speedgrade?

    I run alot of framecyclerDI machines and am looking to upgrade them but i cant seem to find any method of adding command bars and buttons like you could in the iridas versions of speedgrade i also cant see a way of executing any external scripts which for me is a big issue as i have a hell of alot of pipeline scripts that the artist could execute.... any ideas or have i just missed somthing ?.......(would love it if they added a python sdk)

    Hi Dennis,
    Thanks for replying,
    Its actually more the other way getting speed grade to control outher things.
    i.e
    take the in and out points and send the track to a dcp creator
    rendering and sending anotated frames directly into my databases notes system
    taking the shotname and seeing if theres is a new version avaliable and pull it from the server to the local machine drive/cache
    Theres a load more..but you get the idea .. using the buttons to execute these commands in the interface made these functions editor friendly...
    I can get round some of the issues by reading from the autosave.ircp and setting up a PYQT GUI but that seems like a bit of a hack.
    I understand the reasons to keep the UI uniform (editors dont like it when you move buttons) but Im suprised these options got removed as intergrating software into pre-existing pipelines would seem to be a selling point for any software..
    Are there any plans in the roadmap for speedgrade that would help me in the future?
    S.P.F

  • LM00 - Hide push button and Command box

    Hi all,
    We are in the process of implementing ITS mobile for WM transactions (for example : LM00)
    In the browser, I could see pushbuttons F2, F4 and command box. I dont need these push buttons and the command box. Can I hide them in the browser? In fact I want to hide the whole line.
    Note : The above mentioned push buttons are not the ones coded inside the application.
    Thankyou in advance.
    Regards,
    Vic

    Hello Edgar,
    Thankyou. That helped.
    I have 2 more please
    1. The pop-message (in one of the custom developed RF transaction) that appears on MC9090 through SAP Console doesnt appear when I use ITSMobile with browser on Windows Mobile 5.0 on the same handheld. Any idea, why I will not get this message? Could this be because of missing template for pop-up message box?
    I am trying to use LM00 (+ other tranx) through ITS mobile
    2. I recieve a small screen prompt to enter User ID/Password on the IE 6.0 in the laptop on typing URL. However, in MC9090 handheld device with Windows Mobile 5.0+IE, I do not get this small screen to enter User ID/Password. Therefore a blank screen with no text is displayed. Do I have create template for this small screen too? If so what will be screen number (pgm rlogon?), please. Can you please throw some light on this please?
    Thanks a ton in advance.
    Best regards,
    Vic

  • Popup window without using a command button or command link in Adf10g

    Hi,
    I need to show a table in a popup window on clicking in a component in the jspx page. The component can't be a command button or a command link, so i can't use 'useWindow' or 'useDialog'. What can be done in such a case. I am using Jdev version 10.1.3.
    I doubt if <af:dialog> or <af:popup> components are available in ADF10g.

    Hi,
    There's a way, but frakly I would try to change the functional side instead of trying it. Anyhow, if you want to do it, you'll have to use a combination of autoSubmit/onclick along with DialogService.launchDialog (accessible through AdfFacesContext), but that's a very obscure part of the framework.
    Regards,
    ~ Simon

  • Safari 3.0.4 window close button and Command W not working

    Just upgraded to 10.4.11 and Safari 3.0.4, now I cannot close any Safari windows either by the Red button or command W. I am running a Powerbook G4. I had the same problem with previous beta versions of Safari.

    I was also experiencing this problem, and removing the library/input managers/SIMBL fixed it. But I dug a bit deeper, and found out that SIMBL looks in library/application support/SIMBL/plugins. I found a file in there called Taboo dated 5/8/2005 and removed it. Problem solved, even with the SIMBL files in the input managers folder.
    Hope this helps.
    Paul

  • Can't use hotkey "Command+1" and "Command+2"

    When I updated my iTunes 6 to iTunes 7,
    I found that the default hotkey settings "command+1" which to turn on/off list window and "command+2" which to turn on/off Equalizer.
    And I checked the Help information in the iTunes 7, but it show the same tips with iTunes 6: "command+1" to call out main window, "command+2" to call out the Equalizer.
    It must be the one of the bug.
    Any one got this same situation ???

    It's not a bug. It's been removed. It's BS because I now realize how often I used CMD+Tab > CMD+1. Tab to iTunes, then reveal the playlist without touching the mouse. If you look in the "Window" menu, "iTunes" no longer has the CMD+1 symbol next to it.
    Dammit, Apple! Stop taking away sh#$ once you introduce it! Most of my apps have a CMD+1 function and I want it back in iTunes! It's my only real complaint about the new iTunes. That, and the album art pane in the lower left won't stay hidden when in Album Cover view. But that's minor.
    PowerBook (Al) G4 15 1.5GHz, 1GB RAM   Mac OS X (10.4.7)  

  • Re deleting Play Movie button and associated links.

    Hi - thanks in advance for any help to a newbie.
    I have created an iDVD5 file from iMovie5. All went well with Chapter markers etc all coming through into my chosen theme. I started to customise the theme to my liking and noticed in the map area a file called 'Beginning' which was not one of my chapters. I saw that it was the start of the movie which I already had created a chapter marker for, and so I deleted it, thinking it superfluous. Subsequently, I noticed that the 'Play Movie" button had disappeared from the opening screen. The chapters are all intact and I can access and play these in the usual way. I can't, however, opt to play the full movie from the start because of no button or underlying link. Is there a solution?

    Hi, Laureid,
    Welcome to the discussions!
    Glad you are using iDVD and making your project from iMovie! You have made an error with your chapter markers, and unfortunately, you would have had no way of knowing that.
    You will have to recreate your DVD project. Go back into iMovie and delete your beginning chapter marker. As you have seen, iDVD makes the beginning chapter marker for you. Your movie will not play correctly if you do not let iDVD do this for you.
    Relaunch iDVD and create the project again, then import your movie into the new iDVD....or you can use the "Create DVD" button in iMovie if that is what you did the first time and it worked for you. This time you should have all your chapter markers as well as the beginning one. You can easily rename that first marker in iDVD's scene selection menu, so that you can have it the name you wish instead of 'Beginning.'
    Your movie should play and burn to DVD just fine now.
    Good luck, and post back if this doesn't work.

  • I used to open, bbc radio 2, with a left click on the 'listen' tab? this now longer responds, I have to now right click the mouse button and open link in a new tab? whats wrong

    I used to be able to open BBc Radio 2 via the 'Listen' link with a left click of the mouse button, this nolonger works, I now have to right click the link and 'open link in a new tab'
    I must have disabled something?
    If you can help then please make it easy for me to understand.
    Thanks
    Regards
    Rj

    2 Solutions found in [http://support.mozilla.com/en-US/questions/791244]
    the user cor-el has a method that does not require any add-ons. He States
    This code in userChrome.css will move "Open Link in New Window" to the top of the context menu.
    <pre>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */
    #contentAreaContextMenu &gt; * { -moz-box-ordinal-group: 2; }
    #context-openlink { -moz-box-ordinal-group: 1 !important; }</pre>
    the user jay_ff shows how to do it using the Menu Editor Add-on
    1. Install the Menu Editor add-on from https://addons.mozilla.org/en-US/firefox/addon/menu-editor/ .
    2. After the installation, go to Firefox> add-ons (or simply use Ctrl+Shift+A)
    3. Go to the Menu Editor "Options"
    4. In the "Main context menu," simply grab the "Open link in New Tab" and place it below the "Open Link in New Window"
    5. and Voila! You may also change other menu options if you want to!
    I tried jay_ff method first and found that indeed changing the Main Context Menu did cause the hotlink context menu to change as well.

  • Color Buttons and YouTube link

    Hi,
    in the increasing amount of apps, interactive PDFs and swf e-brochures one has yet again so small hiccups, where you
    desperate because you often about dr. google does not find solutions. But maybe you can help me?
    Owned buttons with mouseover from gray to blue to remain blue when you click activation.
    Unfortunately I do not get out that you can help me?
    I also have a hyperlink set, the linked directly to a movie on youtube. I give the link directly into the browser one,
    it works. As a hyperlink set, and swf in html, it did not work. What am I doing wrong?
    Thanks in advance & best regards
    Lil.

    Hi,
    Thanks for your answer!
    Sorry, I've probably put a bit unlucky me. Of course I put the buttons and buttons in
    InDesign with functions and gimicks, but the output is a html swf file (e-brochure for web).
    But I have tonight found a solution that works great!
    Thank you! LIL.

Maybe you are looking for

  • AcroQTP works with Reader 10.1.1, not 10.1.2 nor 10.1.3

    Hi all, I have a suite of AcroQTP scripts written against Reader 9 that I was keen on porting to Reader X. I've seen a lot of frustrated users complaining about AcroQTP not working with their version of Reader X.  I was going to add my voice to the f

  • Client deployment to a Win 7 workstation issue

    I'm trying to client-push from the SCCM 2012 SP1 console to my computer that's on the domain. No firewall enabled and no anti-virus programs running.  I think the client is getting installed, but just a little bit. It shows in my control panel on the

  • I lost my iphone yesterday, how can i find it?

    Hi, I lost my iPhone yesterday and I don't think I had the "findmyphone" app, can you help?

  • Airport Extreme to https websites

    Via wifi, have no problem accessing the normal http websites and access is blocked to https websites. However no access problem to https websites using an ethernet cable. Looks like a problem with my Airport Extreme security setting. Thanks for your

  • Automatically reposition layers/files in a grid by name

    I've got about a hundred sets of sliced up pictures. Sliced up into roughly 80 pieces. They've been cut up in a grid fashion and then named logically & numerically by column and row. And saved to individual jpgs. Simple enough, I can just reposition