[jboss-user] [JBoss Seam] - fileUpload component - Strange behavior
jtsimikas
do-not-reply at jboss.com
Wed Jul 11 20:56:47 EDT 2007
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
More information about the jboss-user
mailing list