I am experiencing some strange behavior with s:fileUpload.

The upload itself works fine, however I am noticing some unusual
behavior which happens "sporadically."

        <h:form id="insertForm" enctype="multipart/form-data">
....
            <s:fileUpload id="attachment" 
                    data="#{plasticsInsertForm.insertDocument}" 
              fileName="#{plasticsInsertForm.insertDocumentName}"/>

....
<h:commandButton value=" Apply Changes " id="submitButton"
styleClass='submitButton' action="#{plasticsInsert.validateForm}"/>
......


The method validateForm() which should always be executed on every button click 
"sometimes" does not get executed when the fileUpload component is utilized.   
Once the fileUpload component is removed, the action method is called on every 
click as normal.


Is this a bug.. a timing issue of some kind... any ideas?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063280#4063280

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063280
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to