I tried to download from the official Oracle page the JSF 2.0 prose document. Unluckily, the link is broken. I searched on Google without success. Do you know where I can find the doc?
PS: in reality, I use Mojarra 2.1.7, so I'll need the 2.1.7 prose document.
PPS: also this link seems broken.
Related
Now that Seam is deprecated, and as PDF where not given to anyone, what are the alternatives to generate a pdf file using facelets templating and backing beans ?
I did it with Seam some years ago and it was very smooth, and I would rather not do it programmatically (which in my opinion is never a good idea to generate views...)
OK...
This thread at jboss explains why it was not a so good idea and why it was deprecated. Thanks to Tiny and Trims for their insight.
I was confounding templating and JSF rendering.. like, in fact, Facelets is a good templating tool, but really focused on web.
More generic tools does exists to template PDF, like FlyingSaucer or XDocReport as presented here
It should be possible to create a XSL-FO through a Freemarker template and pass it to Apache FOP to generate the real PDF.
I have a web application with the following:
JSF 2.2.6
Java 1.7
Tomcat 8
Richfaces 4.5.7
Omnifaces 2.2
I would like to enhance the look and feel of the web app to use Bootsfaces. I have added Bootsfaces jar to my project (via .ivy) and rebuilt.
Before even updating the first web page to use Bootsfaces in the project I wanted to see if there were any conflicts after adding the Bootsfaces jar. It seems there is. I am getting the following errors shown in Firebug:
ReferenceError: jsf is not defined
TypeError: RichFaces.ui is undefined
Does anyone know whether Bootsfaces works with Richfaces and if so could they kindly provide a link with migration steps to follow?
Currently, we, the BootsFaces team, do not support RichFaces. We strive for compatibility with PrimeFaces, OmniFaces, AngularFaces and - if possible - ButterFaces. Neither RichFaces nor ICEFaces are on our list.
However, if someone were to join our team in order to support RichFaces, they'd certainly be welcome!
Related to the last comment on this question, i would like to know if anyone managed to use the HTML5-Fileupload of Primefaces 3.0 with an older Primefaces version.
We have a lot of trouble with the old flash-version of the fileupload.
I know that the best option would be to update the whole project to the new primefaces version but it´s not possible for this project.
This is not going to be trivial. That you're already asking this question already indicates that it's going to be a long journey. I'd rather use a barebones and to-the-point file upload component of another component library such as Tomahawk's <t:inputFileUpload>. It only doesn't support asynchronous uploading and you need to make the submit button of the form a non-ajax one, but it does the job you want it to do without much hassle.
You can find in this answer detailed step-by-step instructions how to integrate and use it in your project: JSF 2.0 File upload. In case of PrimeFaces, you only need to make sure that you have removed PrimeFaces' own file upload filter from the web.xml, otherwise it would consume the uploaded file before Tomahawk's own filter get the chance.
Thats very difficult, I have many problems with fileupload and finally migate to 3.0 but witch are problems?.
If you wanna to change fileupload you will can change source code in library is not very smarted if you desnt know jquery ui o you can use other framework or use directly.
http://www.matlus.com/html5-file-upload-with-progress/
good luck
I was wondering if anyone has experienced a similar problem.
I just tried upgrading to JBoss AS 7.1.1 which comes prepackaged with JSF 2.1.7. Before I was using JSF 2.0.4 and everything was fine with RichFaces (btw I am using 4.1.0.Final in both scenarios). Now with Mojarra 2.1.7, it seems that all my Richfaces resources such as javax.faces.resource/richfaces.js.seam and javax.faces.resource/richfaces-event.js.seam are being included in the body of the rendered html page instead of the head. I am getting a lot of Richfaces is not defined errors because I am trying to use js richfaces methods elsewhere in my code. It just won't work since all the richfaces js files are loaded in the body.
I have tried researching this issue online and I can't find any info on it. I have an h:head tag in my document so that isn't the issue.
Any help would be appreciated. Thanks.
I need to make a file upload function in JSF 2 so I was searching about it and found it is possible to do with Tomahawk, which I think is not very stable with JSF 2.
I'm using RichFaces, so I look for it and found this which I think more simple, but I'm using richfaces 4.
So I wonder if there's a way to do this with richfaces 4 or do this with JSF 2 only.
Any idea, suggestion ?
You're looking at RichFaces 3.3.x demo site. You need to look at RichFaces 4.x demo site. The <rich:fileUpload> demo page contains a concrete example with source code.
To do it with pure JSF2, you'd need to create a custom component and parse the multipart/form-data requests yourself. There's a blog about this with complete and concrete examples: Uploading files with JSF 2.0 and Servlet 3.0.
Using Tomahawk is only more easy. I'm not sure why you think that it's not very stable.