Почему туз:fileEntry не работает?
Я использую jsf 2.0 и компонент icefaces 3 для загрузки файлов:
<h:form enctype="multipart/form-data">
<ace:fileEntry
id="file-entry"
relativePath="/files/"
maxFileCount="10"
maxFileCountMessage="Limited to 10 files uploaded concurrantly."
fileEntryListener="#{uploadFileBean.sampleListener}"
maxFileSize="6291456"
maxFileSizeMessage="Submitted file is too large."
maxTotalSize="18874368"
maxTotalSizeMessage="Total size of submitted files is too large."
required="true"
requiredMessage="The file is required to submit this form."
useOriginalFilename="true"
useSessionSubdir="true" />
<h:commandButton
id="submit"
type="submit"
value="Send File" />
</h:form>
но после того, как я выбираю файл для загрузки и нажимаю Send File
кнопку я получаю:
The file is required to submit this form.
что очень странно, потому что я уже выбрал файл.
У кого-нибудь есть предложения?