How to upload the file using jsf component can any body post the code of custom component. Thanking you in advance.
Bhaskar.G.r 9900924608.
Darryl Nortje
Ranch Hand
Joined: Jun 11, 2002
Posts: 140
posted
0
Hey Bhaskar,
I am using myFaces with tomahawk.
I use the tomahawk <t:inputFileUpload tag for this.
cheers Darryl
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
You don't need a custom component. Just look around for existing component libraries first. Tomahawk for example has a t:inputFileUpload component, as mentioned before. You can find here an useful article about how to integrate and use it in a Sun JSF Mojarra environment: http://balusc.blogspot.com/2008/02/uploading-files-with-jsf.html It is actually relatively simple.