[jboss-user] [JBoss Seam] - JavaScript events on s:fileUpload?

EricJava do-not-reply at jboss.com
Thu Aug 23 03:53:09 EDT 2007


I would like to have some JavaScript happen on s:fileUpload.  Namely, when the user selects his file, I want a form submit to happen so the file is uploaded.  If I can get this to happen Ajax-style, I could even have a preview of the file show up when the upload is done.

I've been trying to put an <a:support event="..."> in my <s:fileUpload> element but nothing seems to be happening.  I tried for event="onblur" and event="onchange".  Any ideas?  Is this workable?

Thanks


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077170



More information about the jboss-user mailing list