voyent
ace:fileEntry doesn't call fileEntryListener  XML
Forum Index -> General Help
Author Message
Maksim_A

Joined: 27/Feb/2018 02:01:24
Messages: 18
Offline


When i click on h:commandButton fileEntryListener is not executed. The whole problem in my faces-config, more precisely in this - metadata-complete="true". What can I do to make the action work with this setting? My code:
Code:
<ace:panel>
                 <ace:fileEntry id="fileEntryComp"
                                relativePath="#{fileEditor.uploadDirectory}"
                                fileEntryListener="#{fileEditor.action}"
                                useOriginalFilename="false"
                                useSessionSubdir="true"
                                autoUpload="false"
                                maxFileCount="#{fileEditor.maxFileCount}">
                 </ace:fileEntry>
 
                 <h:commandButton value="Upload" type="submit" disabled="false"/>
                 </ace:panel>
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team