On Wed, 11 Jun 2008, Alexander Landsnes Keül wrote: > produces an unfortunate but predictable result. Whenever I call > _fileUploadField.getFileUpload() it returns null. If I try to replace > the button with a regular one it works just fine. Am I missing > something obvious here, or is it an issue?
I think that it is an obvious issue :) * FILE UPLOADS ARE NOT SUPPORTED BY AJAX. USE GOOGLE TO LEARN MORE * ABOUT THIS. http://svn.apache.org/repos/asf/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java It's a great idea to attach Wicket source code to Wicket jars in your IDE, then you can easily surf to Wicket code which tends to explain itself well, see the javadocs etc. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
