-
1. Re: s:fileUpload in Seam 3 ?
lightguard Feb 21, 2012 3:04 PM (in response to aogier)Unfortunately, no there isn't. Though Brian Leathem I'm sure would like to hear your feedback about the upload control in RichFaces.
-
2. Re: s:fileUpload in Seam 3 ?
aogier Feb 22, 2012 3:56 AM (in response to lightguard)Such a pain...
And is it planed to make the feature or not ? (Or perhaps I should open a jira for that ?)
It's part of the things that make things really hard to migrate from Seam 2 to 3 because we lose lots of features... Isn't the code in Seam 2 partially re-usable to build the same component in Seam 3 ?
Or perhaps one could take ideas from http://stackoverflow.com/questions/3459743/jsf2-0-simple-file-input...
Thanks for your reply anyway.
-
3. Re: s:fileUpload in Seam 3 ?
lightguard Feb 22, 2012 3:16 PM (in response to aogier)1 of 1 people found this helpfulAt this point, probably it will not make it into Seam 3. However, it's possible it could in DeltaSpike. Also a great idea would be to add one to the RichFaces sandbox. There's a blog series done by Brian Leathem about using the RichFaces CDK. I've heard there have been quite a few people looking for a simple file upload component. This would be an excellent contribution and help people at the same time.
FWIW, JSF 2.2 (EE7) will have a basic fileupload as a core component.
-
4. Re: s:fileUpload in Seam 3 ?
zeeman Feb 22, 2012 8:51 PM (in response to lightguard)If you're on a servlet 3.0 container/app server (Tomcat 7 or Jetty 8, AS 7) you already have multi-part form support. You just need to be able to render it in UI. You can use HTML input tag. Don't include any other JSF components in file input form.
When a user select a file and uploads, on server a filter will process the multipart request.
Primefaces has a simple fileUpload component BTW.
-
5. Re: s:fileUpload in Seam 3 ?
hantsy Feb 25, 2012 10:27 PM (in response to aogier)I think you must write a simple file upload component yourselft, use Google you will find many post about this topic.
The fileUpload in the Richfaces is too rich,..
-
6. Re: s:fileUpload in Seam 3 ?
teacurran Mar 1, 2012 11:36 AM (in response to aogier)1 of 1 people found this helpfulthe primefaces fileUpload control is a good replacement for s:fileUpload
http://www.primefaces.org/showcase-labs/ui/fileUploadSimple.jsf
-
7. Re: s:fileUpload in Seam 3 ?
aogier May 23, 2012 4:49 AM (in response to lightguard)I've just created RF-12279 for RichFaces 4.
Today I'm trying to use <t:inputFileUpload> from Tomahawk but it seems to have some problems with RF (based on that thread on Stackoverflow).
In the console, I've got some useless "JSF1064: Unable to find or serve resource, inputFileUpload.xhtml, from library, org.apache.myfaces.custom" (in french : "ATTENTION [javax.enterprise.resource.webcontainer.jsf.application] (http--0.0.0.0-8080-4) JSF1064 : Impossible de localiser ou de servir une ressource, inputFileUpload.xhtml, depuis la bibliothèque org.apache.myfaces.custom.").
-
8. Re: s:fileUpload in Seam 3 ?
kwutzke Jun 1, 2012 9:28 AM (in response to aogier)Has anybody found out how to get rid of this warning?
-
9. Re: s:fileUpload in Seam 3 ?
aogier Jun 1, 2012 11:00 AM (in response to kwutzke)I switched to Primefaces !
But now, unfortunately, my user css (added with <h:outputStylesheet /> in my page) are added to the header before richfaces styles (and primefaces styles are loaded before everything else).
I think I'm now falling on RF-10973 and checked PrimeFaces and RichFaces compatibility issue and Working towards RichFaces / PrimeFaces compatibility but until now I found no solution to that new problem...