JSF: how to avoid validation but still submit data to the "business layer"

Greetings
The scenario is common and sounds like this:
1) We have 2 forms, each with some fields marked with required = "true"
2) Navigation between these two should be unlimited and data should be submitted to the (stateful) business layer every time we move from one to another, without validation,
thus all of my h:commandButton tags are marked with type="submit"
3) On final "save" command data should be validated and sent to DB
Now,
- if i avoid required attributes on fields, everything works fine except validation ofcourse
- if i add immediate="true" where needed, data gets lost when i navigate from one page to another
thanks a lot in advance

Use an EL expression for the value of the required attribute. Note that the important thing is its value during the subsequent request. If you have other types of validations you may have to use custom validators.

Similar Messages

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    Lynne130,
    to figure out which users have administrative privileges, open the Users & Groups pane of System Preferences; each user other than the Guest User will be shown with a description of either “Admin” or “Standard”. It’s typical for the first user created on a Mac to be an administrative user.

  • Had to buy a new PC as the hard disk of the old one broke and lost all purchases, but still have them on the iPhone. How can I sync them back to the new PC in iTunes?

    Had to buy a new PC as the hard disk of the old one broke and lost all purchases, but still have them on the iPhone. How can I sync them back to the new PC in iTunes without losing them?

    You should be able to:
    Backup the device to the new installation
    Transfer your purchases into a newly authorized library
    Recover any other media using third party tools as suggested in this post from forum regular Zevoneer
    Restore the device from the backup
    This process should switch the association of the device to the new library, preserving the data and settings in your apps.
    May also be prudent to attempt a backup to iCloud directly from the device before you start... Settings > iCloud > Storage & Backup > iCloud Backup > On. It won't save any media but it would preserve the general account settings and documents in case anything goes wrong while you are trying to extract your other data.
    When you get it all fixed, make a backup!
    tt2

  • How to avoid Java Studio Creator 2 to use the regional settings?

    How to avoid Java Studio Creator 2 to use the regional settings to select the language that will be used to display the IDE in a certain language?
    My country settings are set to Belgium (French) but I want to have my IDE running in English.
    What should I change in the defautl properties of JSC2 to avoid this behaviour?
    Please, don't tell me to change my regional settings, it is not a valid answer :-)
    Best regards,
    Abdelkrim BOUJRAF

    just modify creator.conf in directory etc/
    add: -J-Duser.language=en
    in the netbeans_default_options line:
    like this:
    netbeans_default_options="-J-Duser.language=en -J-Xms96m -J-Xmx384m -J-XX:PermSize=32m -J-XX:MaxPermSize=128m -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Xverify:none -J-Dnetbeans.javacore.background_scanning=true -J-Dsunappsrvint.home=\"C:\Program Files\Sun\Creator2\SunAppServer8\""

  • I have synchronized my iPhone with my ical on my macbook, but somehow my dates on the iPhone appear twice? how can I change that?

    I have synchronized my iPhone with my ical on my macbook, but somehow my dates on the iPhone appear twice? how can I change that?

    You sign off and sign in with the correct Apple ID.
    See this tip and is still valid for IOS 6
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family

  • I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back-up app.

    I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back up app.
    Have used Superduper app. to back up and checked back-up occasionally to see if all files present  and appeared OK.
    I had previously started machine using original CD #1 to try and replace Eudora which was acting up. Did not knowingly touch Safari.
    Running iMAC System 10.4.11
    How can I successfully download from the Maxtor back-up?
    Ivan

    Further info.
    I checked the content of my other back-up and found the bookmark Bookmarks.plist in the library under Safari
    Dumped the existing copy in the computer and drag-dropped the back up. All bookmarks restored.
    Solved the Stickies problem by using Spotlight  to find file "stickiesdatabase" and did a drag- drop to replace file. All data restored.
    Re Ical data loss. Used Spotlight to find iCal document in  Library - Preferences where I found com.apple.iCal.plist in folder.
    Got ready to make change but did not immediately remove file. When I returned to Preferences folder to grab above document,
    the readable descriptors had been changed to code consisting of some upper case letters and/or single symbols!
    So now I cannot tell which is the symbol  iCal.plist
    Thanks for leading me so far, but how do I find that plist for my calendar?

  • How do i make a still image (photo) fit the length of the music? I record music and want to put the tracks to a video file with a still image of my business logo in the background. Any help?

    How do I make a still image (photo) fit the length of the music? I record music and want to convert the tracks to a video file with a still image of my business logo in the background. On windows movie maker you could just select "fit to music" but this program isnt as easy to figure out! Any help?

    Double-click on the still image in the project timeline to open the Inspector. In the Inspector, adjust the duration by typing in a new duration to match the length of your music. I think the limit for a still image is 10 minutes. If you need more than this, simply drag the image into the timeline again then adjust its duration. The two images will play seamlessly (no gap will be visible).
    See this iMovie Help topic:
    http://help.apple.com/imovie/#mov3a883915
    You can achieve more precision when entering durations by changing a preference in the menu item iMovie Preferences. Check (tick) the preference for Show Time As HH:MM:SS:frames. This will enable you to enter the duration of stills down to the frame level, rather than full seconds (NTSC is 30 frames per second; PAL is 25 fps). When entering times, type a colon between each time segment, such as 2:50:15, which represents 2 minutes 50 seconds and 15 frames. For 5 seconds 20 frames you would enter 5:20 and so forth.
    Note that the music will only run to the length of the video in the timeline (in your case, the still images). So, after increasing the stills duration you will need to drag the end of the music track as far as required. The stills can be dragged inwards to reduce the duration if necessary.
    John
    Message was edited by: John Cogdell - added Note

  • Hi , We are in 11.5.10.2, recently, one of our OU was sold but still we have given the option to use our system for 6 months inorder to support their business. Now, we dont want those receivables transactions to be posted to out company accounts.

    Hi , We are in 11.5.10.2, recently, one of our OU was sold but still we have given the option to use our system for 6 months inorder to support their business. Now, we dont want those receivables transactions to be posted to out company accounts.
    How to handle this situation in oracle now.

    How To: Direct Message  and  ArnettH_VZW

  • TS1815 Subject: What Mountain Bike help  I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.

    Subject: What Mountain Bike help
    I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.
    Thanks Malcolm

    said article below....
    HT1747: iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier
    Learn about iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier

  • I had backup my iphone .. and it started but later it showed no space .. so i had gone to preference device and deleted the backup.. but still my iphone shows the availabilty as zero..plz help

    i had backup my iphone .. and it started but later it showed no space.. so i had to stop the backup..and had gone to preference>device and deleted the backup.. but still my iphone shows the availabilty as zero..plz help.. how to get the available space that was before..

    rabidrabbit wrote:
    Can I back up my iPhone 4S to my ipad 3 (64 gb)?
    no
    rabidrabbit wrote:
    However, now I don't have enough space in iCloud to backup either device. Why not?
    iCloud only give so much space for free storage, then if you exceed the limit of 5gb you have to pay for additional storage.

  • I had join the Photoshop Photography Program, but still can not use the photoshop cc, the photoshop just ask me the serial no, but i can't find my serial no.

    i had join the Photoshop Photography Program, but still can not use the photoshop cc, the photoshop just ask me the serial no, but i can't find my serial no.

    Hello,
    see >>> http://helpx.adobe.com/creative-cloud/help/install-apps.html  here >>> How many computers can I install on
    I quote: You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each.
    If you install on a third computer, it will request you to de-activate on the other two computers. You can then reactivate one of the previous two computers, and use Creative Cloud apps on it.
    Good luck!
    Hans-Günter

  • I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.

    I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.at various times it asks different passwords.

    Curretly, there is an iCloud blackout.  It started this morning around 2AM California time (Pacific), 5AM New York (Eastern).  A lot of people have been having issues all day, including me.  No iCloud services are online.  Even Find My iPhone is down.

  • I'm using an iPhone 4 after upgrading to iOS 5 i'm getting an error 1635 now i'm facing problems syncing my contacts and facing many problems, i have restored my iPhone but still i'm getting the same error

    i'm using an iPhone 4 after upgrading to iOS 5 i'm getting an error 1635 now i'm facing problems syncing my contacts and facing many problems, i have restored my iPhone but still i'm getting the same error

    Did you check your security software settings? eliminating conflicts from third-party security software.

  • TS3988 My icloud account is not verifying it says check my mail witch I have done and I get a message say your iPhone for has been used to set up and Icloud account but still can not use the icloud can anybody help me.

    My icloud account is not verifying it says check my mail witch I have done and I get a message say your iPhone for has been used to set up and Icloud account but still can not use the icloud can anybody help me.

    Be sure you are checking the email account that you used to set up the Apple ID you used to create the iCloud account.  Also, be sure to check your spam/junk folder as well as your inbox.  The email you should receive looks like the image below.  When you get it, click the Verify Now link.
    If it still isn't there, try going to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right look for a link to resend the verification email.

Maybe you are looking for

  • Public webservice for ABAP consumer proxy?

    Hello All, for a soon coming customer project I want to get familar with the implementation of a ABAP webservice consumer. We're on Netweaver 7.0, no XI/PI. So I simply started at SE80, and tried to create a service consumer, and entered the URL http

  • "select your country/region" in PE9?

    Why does the  "select your country/region" window come up every time I open my PE 9? It is quite annoying, you would think once I tell it that upon installation it should accept that and not ask it again and again  and again!

  • Inter-as L2 multi sites

    Hi I need MPLS inter-as L2 Communication between different AS. Point to multipoint, multipoint to Point, like a big L2 cloud. Like a Lan connected to 2 PE for router redundancy, it need to have L2 to other sites in different MPLS AS. VPLS? eVPN? with

  • How to package the runtime into APK with Flash Pro + AIR 3 SDK?

    Hi I'm very glad to update my AIR SDK from 2.7 to 3.0 and everything seems working well. But how can I package runtime into .apk file with Flash Pro? Should I change the XXXXX-app.xml manually? Thanks

  • Air installation damaged

    Hello, I keep getting a message on start up of  ADOBE AIR.  'The installation of this application is damaged.  Try reinstalling or contacting the publisher for assistance'.  My system is VISTA.  I have uninstalled and reinstalled Air without any reso