I supose you want to do something like
THAT<http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf;jsessionid=BF2B304A6ABE16717189D32A0FDD5BD1?c=fileUpload&tab=usage>

i hope this can help you some way






2008/11/14 tong123123 <[EMAIL PROTECTED]>

> I find that after user press the t:inputFileUpload
> button, the managed bean setXXX method is not fired
> even add immediate="true" attribute,
> the setXXX method only fired when
> the commandButton
> <h:commandButton value="upload" action="#{uploadBean.upload}"/>
> is pressed!!
> but now I want to do something like GMail
> attachment, that is only one attach button
> (t:inputFileUpload button), each time user
> press the t:inputFileUpload, the file
> is stored in a vector<UploadedFile>, and
> then when the user press the
> <h:commandButton value="upload" action="#{uploadBean.upload}"/>
> button, all attachment is upload PLUS
> all information in the enclosing h:form is submitted,
> how to implement such function?
> is it no way for t:inputFileUpload fire the setXXX when
> user press it? (don't wait until the user press
> the commandButton button)
>
>
>      為了不斷提升Yahoo! Mail,雅虎香港誠邀你參與意見調查。請前往
> http://surveylink.yahoo.com/wix/p5429076.aspx 發表你的意見!
>

Reply via email to