Hi,
I'm trying to use an AjaxButton along with a FileUploadField, and that 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?
This is in a function called by the onSubmit() in both cases:
FileUpload upload = _fileUploadField.getFileUpload();
if( upload != null )
{
// some code
} else
{
log.error(....);
}
I always get to the error bit here. I've solved the issue another place by
simply using a regular button. However that isn't really an option for me at
this location. I'd appreciate it if anyone could explain why this acts as it
does, or even better have a solution for me :)
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]