InputFile "works" when it's not supposed to

Hi
I'm using <af: inputFile> without using ValueChangeEvents with the value of the inputFile binded directly to a managed bean:
<af:form usesUpload="true">
<af:inputFile label="Upload:" value="#{managedBean.file}"/>
<af:commandButton text="Begin" action="#{managedBean.doUpload}"/>
</af:form>
On my page I also have some af commandButtons, commandMenuItems... etc.
The problem is that when I click one of them and inputFile field is not empty the file is being read. How can I disable this? It's very irritating since when the file is bigger than UPLOAD_MAX_MEMORY+UPLOAD_MAX_DISK_SPACE parameters a "java.io.EOFException: Per-request disk space limits exceeded" is thrown.
When value of the inputFile is not binded there is no problem, but without binding upload won't work and I don't want to use ValueChangeEvents.
Can anyone help me ? :)
ps. I don't want to change MAX_MEMORY and MAX_DISK_SPACE parameter.

Hello bebjjb6,
And welcome to Apple Discussions!
Not sure if it really matters, but have you doubled checked the other tabs (Music, Movies, TV Shows, etc) for your iPod in iTunes to see if they are no longer checked to sync?
You can also disable automatic syncing of iPods via iTunes preferences. In iTunes choose *Edit > Preferences*, click Devices, and select “Disable automatic syncing for all iPhones and iPods.”
B-rock

Similar Messages

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Purchased tab in "App Store" app doesn't work when AppleID is not an email address.

    After updated my iPhone and iPad to iOS 6 (both 6.0&amp;6.0.1), Purchased tab in "App Store" app doesn't work when AppleID is not an email address. This happened since 6.0 and I hope that it will be fixed in6.0.1 but it doesn't.
    When I tap at Purchased tab in iPad App Store or Purchased bar in Updates tab in iPhone App Store, it just hang on "Loading...", but when I changed to other AppleID, it works. Apparently, my AppleID is not an email address but the other AppleID is an email address.
    Not sure where to send my feedback to Apple about this issue.

    http://www.apple.com/contact/feedback.html

  • Why won't my pandora work when I'm not on wifi? I have the cellular data on for it but I never works. Also pandora isn't the only app of mine that does that.. What's wrong with it??

    Why won't my pandora work when I'm not on wifi? I have the cellular data on for it but I never works. Also pandora isn't the only app of mine that does that.. What's wrong with it??

    You're welcome.
    Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
    You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception.

  • Flash Movie works when testing, but not in application

    My flash movie works when I "Test Movie" within Flash 8 or
    when I press F12 and open it in the browser, but it only show the
    dynamic text, not the pictures when I place it within my page. The
    dynamic text changes properly but no images are displayed.

    I suspect this is where my issue lies, but I am not sure how
    to fix it. I have attached some code that defines the image
    location. I am able to successfully retrieve documents with the
    following, is this the same type of scenerio,
    http://www.skytitleagency.com/documents/Land_Contract.doc,
    except in the images folder ?

  • Ipw3945 only working when modprobing manually / not on startup

    The last kernel update broke my wireless.
    When booting, the ipw3945d daemon will tell me "ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection". After it finishes booting, I can rmmod the ipw3945 module and modprobe it again. Starting the daemon after that works flawlessly. Even if I try to start the daemon manually after the booting sequence, I'll get that error. I first need to rmod and modprobe ipw3945 for it to work. So...:
    [21:32:40 | shapeshifter@Tachycineta ~]$ sudo /etc/rc.d/ipw3945d start
    :: Starting IPW3945d                                                                                                [BUSY]
    2008-03-01 21:32:47: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection
                                                                                                                                  [DONE]
    [21:32:48 | shapeshifter@Tachycineta ~]$ sudo rmmod ipw3945
    [21:32:50 | shapeshifter@Tachycineta ~]$ sudo modprobe ipw3945
    [21:32:53 | shapeshifter@Tachycineta ~]$ sudo /etc/rc.d/ipw3945d start
    :: Starting IPW3945d                                                                                                [DONE]
    [21:32:57 | shapeshifter@Tachycineta ~]$
    And I have no idea why it only works when modprobing manually.
    Anyone?
    Last edited by TB2 (2008-03-01 23:05:33)

    zenlord wrote:
    Are you sure it's driver-related? I have never heard anyone complain about deassociating wireless networks unless they were using networkmanager or wicd or something like that. In the various threads about netcfg2 I have never seen anyone with this problem.
    Zl.
    I don't know if it's driver-related, but it could be power-related: iwl3945 isn't able to retrieve my ap essid everytime, since on the other hand ipw3945 is able to do, with the laptop in the SAME position.
    Last edited by uastasi (2008-03-13 20:10:18)

  • How do you get songs to work when they will not work..

    How do you get songs you bought on the ipod when they will not play..

    Talk to the iTunes Store support and/or contact the publisher.
    tt2

  • Customized chrome works when running, but not when compiling ?

    Dear webmates :
    I have customized my chrome in Flex : it does not show the window container  (transparent) , etc... and works great when I run it... however, when I compile it in order to have the standalone file... it simply works displaying again the window ! what do I have to do ? thanks in advance...

    Hello,
    When you built your installer, did you include all of the dynamically called VIs?  The application builder does not know about dynamically called VIs unless you specifically tell it about them (which of course makes sense, as they are dynamic).  Other potential issues might be the change in behavior of the Current VI's Path constant, or a lack of other dynamically called objects such as dlls or drivers.  Make sure that the dynamically called VIs have been properly installed on your target computer in the desired paths.  If that doesn't solve the problem then make sure that your application has good error handling capabilities (i.e. handles all error wires and eventually passes them to an error handler) so that you can use the error to determine which files are missing or in the wrong location.
    Regards,
    Ryan K.

  • Sound works when testing, but not when uploaded

    I used the Behaviors pallet to stream my mp3 files, and it
    works fine when tested locally, but as soon as I upload everything
    and test it online, nothing plays. The site is
    www.spidersandsnakes.net/media08.htm.
    Any ideas?

    I suspect this is where my issue lies, but I am not sure how
    to fix it. I have attached some code that defines the image
    location. I am able to successfully retrieve documents with the
    following, is this the same type of scenerio,
    http://www.skytitleagency.com/documents/Land_Contract.doc,
    except in the images folder ?

  • JPopupMenu doesn't work when invoker is not a Swing JComponent ??

    I've written some code that uses a java.awt.Canvas to draw some stuff, and I want to be able to bring up a popup menu over the canvas.
    The problem is that when I try to show the popup menu with my Canvas as the invoker nothing happens: no popup menu appears.
    I also have problems with other AWT components (e.g. with java.awt.TextArea the popup comes up with two clicks but gets hidden behinf the popup that TextArea decides to provide).
    However everything works fine when I use a Swing widget (e.g. JTextArea or JPanel) as the invoker of my popup menu.
    Is this a bug or an undocumented feature?
    The JPopupMenu.show(...) method will happily accept any AWT Component as the invoker. Also the API documentation says nothing on this issue. Also the Swing tutorials doesn't say anything about this.
    I'm tempted to conclude this is an undocumented feature, but that suprises me. Surely I'm not the first person to try and use JPopupMenu with an AWT widget as invoker? Before I file a bug report, can someone tell me if I'm missing something here?
    I have some code to demonstrate this; all you have to do is comment one line and uncomment another to repoduce this behaviour. Let me know if you would like me to post it.

    Quick followup for anyone reading this topic:
    The suggestion of using JPanel and overriding paintComponent(...) is the way to go. I had thought of doing this to begin with, but felt it would be more effort. It's not. It's the same effort as using AWT canvas, but gives better results, and doesn't stuff up JPopupMenu or anything else that wants to interact with a lightweight component.

  • Google Analytics worked when .mac, but not now its mobile me... help!

    Hi all,
    My iWeb 08 publishes to my web space within my mobile me package. After the change to me from .mac, I stopped using my @mac e-mail address and have started using @me instead. Further following a few issues when updating web galleries I decided to delete my published web site from Apples servers and re-publish it to mobile me. This has all worked fine apart from my google analytics. I deleted the html code, set up a new web address within my google account and copied and pasted the code into a fresh html snippet within iWeb. Once published the whole site works apart from info being sent to google for my analytics. Is there something different I need to do to get it working again? We move house at the weekend and I'm not sure when we shall have broadband set back up - therefore I'd like to be able to get stats on my sites visitors when web access is back available.
    All help very much appreciated.
    Tim

    This may be the solution - will have to wait until tomorrow to see if it has worked - I found these:
    http://www.apple.com/downloads/macosx/automator/addgoogleanalyticsaction.html
    http://echoone.com/automator/google-analytics/GoogleAnalytics/Google_Analytics.h tml
    Tim

  • How is my DVD drive working when it isn't supposed to?

    definitely not a complaint, but I recently put some spare parts from upgraded machines in my beige, an NEC superdrive (unsupported for iApps, but bootable in 9 & X), an old rage card WITHOUT the DVD decoder, and a 450MHz processor pulled from a B & W. runs Jaguar now beautifully. I put in a DVD the other day to see if VLC might be able to play a DVD since I'd heard that without the DVD decoder and without being booted into 9 the beige G3's just wouldn't work with Apple's DVD player in X. by default the DVD launched Apple DVD and it played, perfectly.
    is there a decoder maybe in the drive itself or some other explanation for how this is working? like I said, NOT a complaint, just confused (in a good way).

    Yes, playing DVDs with the on-board Rage video is a surprise. While Apple moved the DVD decoding into OS 9 software (Altivec not required), supposedly a video card equivalent to the Apple Rage 128 (16 MB VRAM), found in B&W G3s and beyond, was required for the Apple DVD Player to function properly. For the Beige G3s that meant a Rage Orion or better. But, if it works off the on-board video, more power to you.
    Does the DVR show up in ASP? Does ASP show it as "Burning Supported"?

  • Auto-scrolling doesn't work when JFrame is not visible

    Hi, I have auto-scrolling implemented for my JTextPane that sits in JScrollPane - which lives in JInternalFrame. It works as excepted - as long as my application's JFrame is visible. When the JFrame becomes invisible, auto-scrolling simply doesn't work anymore.
    I've overcame this by scrolling down in "windowShown", but it's ugly because the user can visually see the scroll down when using this workaround (it jumps).
    I guess this is Swing's optimization, but I would really like to overcome it in someway. But it seems I'm not enough a swing hacker to do it.
    One thing to note is thtat, the auto-scrolling works fine when the JInternalFrame is NOT visible, but frame is.
    I've tried to override the isShowing-method of JInternalFrame, with no luck.
    Here's my scrolling method:
    public static void scrollDown(JScrollPane scroll) {
              JViewport port = scroll.getViewport();
              Rectangle rect = new Rectangle(0, port.getViewSize().height, 1, 1);
              port.scrollRectToVisible(rect);
              JScrollBar bar = scroll.getVerticalScrollBar();
              bar.setValue(bar.getMaximum() - bar.getModel().getExtent());
         }Anyone have ideas?

    At some point I had really hard time getting the auto-scrolling to work, as I got these weird little bumps after scrolling down.
    Adding scrollBar.setValue() seemed to 'just fix it'. It actually seems to be superfluous now.
    The scrolling is already wrapped in SwingUtilities.invokeLater() - in conjuction with printing text into the JTextPane and it works OK.
    I had some wrong info in the first post, the viewport actually does get scrolled down even when the JFrame is not visible. And by visible I mean JFrame.setVisible(false) - my application has a minimize-to-tray feature, which hides the JFrame.
    So I think the problem is 'just' a repainting problem. When the frame is shown, the previous scroll location is first displayed, and then a repaint is triggered that causes the 'jump down'.
    I'm not still sure how to fix it though.

  • App works when exported, but not in FlashBuilder

    I have an AIR drag-and-drop app that uses NativeDragEvent.NATIVE_DRAG_ENTER
    The app works as intended when I export it for release.   When I run or debug with FlashBuilder the application does not acknowledge files of any type being dragged over it. 
    Again, when the application is installed, it works great.  I'm dragging and dropping without issue.  This only happens when I'm running the app from FlashBuilder.  This isn't a big deal, but it is annyoing.
    Any ideas?

    I suspect this is where my issue lies, but I am not sure how
    to fix it. I have attached some code that defines the image
    location. I am able to successfully retrieve documents with the
    following, is this the same type of scenerio,
    http://www.skytitleagency.com/documents/Land_Contract.doc,
    except in the images folder ?

  • ITunes stops working when it's not the active window and connected to the internet

    Hi,
    I have a problem with iTunes where it crashes, only when the wifi is on and connected to a network.
    Usually it occurs when I click onto another application outside of iTunes.
    I've tried reinstalling both iTunes and the Apple Application Support but the problem still occurs.
    I'm also on Vista if anyone has any ideas that would help?
    ~Jenny

    Along with the audio control surface, this would be a VERY welcome feature in my opinion.
    For those concerned about CPU drain, it should be possible to turn this feature on or off.
    When I'm editing fluidly in FCP I do in fact leave the timeline playing whilst I go to other windows to select an effect, tweak a bit of audio or even move to a different app - there's nothing unusual about this at all.
    Ultimately we all have our own ways of editing, but trust me, when you've been used to (and seen the benefit of) an NLE 'feature' you really miss it when the manufacturer chooses not to include it.
    Thanks
    ADAM READ
    InterMedia

Maybe you are looking for