voyent
Issue when uploading multiple file with ace:fileEntry on jboss 6.3 EAP  XML
Forum Index -> General Help
Author Message
paralight

Joined: 20/Jul/2016 01:08:47
Messages: 17
Offline


Hi

we have some issue with the iceface component <ace:fileEntry>, the fileEntryListener method is never invoked
we use the option multiple="true", it's work fine on our dev environment but on jboss 6.3 eap, we never arrive on the event method defined on fileEntryListener

when we use multiple="false" it works flawlessly.

to resume when we use multiple="false" i works both on tomcat7 and jboss 6.3 eap
and when we use multiple="true" i works on tomcat7 but not on jboss 6.3 eap

Code snippet for <ace:fileEntry


Code:
<h:form id="uploadForm">
 					<ace:panel>
 						<ace:fileEntry 
 							id="#{htmlId}_uploadDocFile"
 							absolutePath="/temp" 
 							immediate="false"
 							fileEntryListener="#{flatFileBean.sampleListener}"
 							required="false"
 							useOriginalFilename="false" 
 							useSessionSubdir="false" 
 							autoUpload="false" 
 							multiple="true">
 							<f:attribute name="documentFieldId" value="" />							
 							<f:attribute name="formIdForUpload" value="" />							
 							<f:attribute name="rowIndex" value="" />							
 							<f:attribute name="documentFieldName" value="" />	
 							<f:attribute name="currentForm" value="#{form}" />
 							<f:attribute name="returnNavRule" value="#{form.formPath}" />	
 							<f:attribute name="name" value="#{form.nameForUpload}" />	
 							<f:attribute name="divRowId" value="j_idt473:_t604" />	
 							<f:attribute name="fieldId" value="#{form.formFieldForUpload.id}" />	
 							<f:attribute name="formFieldformId" value="#{form.formFieldForUpload.formId}" />	
 						</ace:fileEntry>
 						<ace:message for="#{htmlId}_uploadDocFile" style="color: red" showDetail="true"/>
 					</ace:panel>
 					<h:panelGrid styleClass="centeredPanelGrid">
 						<ace:pushButton type="submit" value="#{resources.submit}" />
 						<ace:pushButton actionListener="#{formBean.onHideUploadPanel}" value="#{resources.cancel}"	 />
 					</h:panelGrid>
 				 </h:form>


and in backing bean , nothing very special :

Code:
 public void sampleListener(FileEntryEvent e) throws IOException, DaoException {
 ....




any help would be appreciated

thanks :)



 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team