Hi
I am planning to use primefaces for the developement of charts. I am facing a problem with primefaces while using with the facelets?
does Prime Faces has integration support with facelets? If yes, can some one show me some sample charts using facelets with Primeface.
Thanks.
Does Prime Faces support facelets.?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Welcome to the forums, actually PrimeFaces is well tested with Facelets compared to JSP so yes sure PrimeFaces works with Facelets.
For chart documentation there're several resources:
1) Charts section in Reference Documentation: http://primefaces.prime.com.tr/en/documentation.html
2) Wiki page of charts: http://code.google.com/p/primefaces/wiki/Charts
3) Example charts in showcase demo: http://www.rehberharitam.com/prime-showcase/index.jsf
As I've observed, there're many users in PrimeFaces community using charts and facelets with no problems. If you give out more information the problem you're having I think we can come up with a solution. Thanks.
For chart documentation there're several resources:
1) Charts section in Reference Documentation: http://primefaces.prime.com.tr/en/documentation.html
2) Wiki page of charts: http://code.google.com/p/primefaces/wiki/Charts
3) Example charts in showcase demo: http://www.rehberharitam.com/prime-showcase/index.jsf
As I've observed, there're many users in PrimeFaces community using charts and facelets with no problems. If you give out more information the problem you're having I think we can come up with a solution. Thanks.
-
- Posts: 2
- Joined: 22 May 2009, 16:20
Hi Cagaty,
Thanks for your valuable reply.
My Application uses Seam framework with Richfaces, Facelets. I am finding it difficult to to integrate prime faces with my application.
I tried with sample piechart. i used the following line:
In the above #{orders} list will Inject from my SessionBean into my facelets page.
code from my Session Bean
Does PrimeFaces supports for Seam Framework with Richfaces and facelets.
Does primefaces tags can undertsand the Objects injected by Seam into facelets?
I hope I will get proper example and some explanation about this issue
Thanks
Thanks for your valuable reply.
My Application uses Seam framework with Richfaces, Facelets. I am finding it difficult to to integrate prime faces with my application.
I tried with sample piechart. i used the following line:
Code: Select all
<p:pieChart value="#{orders}" var="order" categoryField="#{order.type}" dataField="#{order.amount}" />
code from my Session Bean
Code: Select all
@DataModel
private List<PurchaseOrder> orders = null;
@Factory("orders")
public List<PurchaseOrder> getOrders() {
orders = getAllOrders();
return orders;
}
Does PrimeFaces supports for Seam Framework with Richfaces and facelets.
Does primefaces tags can undertsand the Objects injected by Seam into facelets?
I hope I will get proper example and some explanation about this issue
Thanks
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
PrimeFaces does not care actually if the app is using seam, spring or anything since all these frameworks use jsf apis to hook their stuff. What's the "error" you're getting. js error, sth in logs? Also have you tried any other PrimeFaces component, is the problem related to charts? Do you have flash installed?
-
- Posts: 1
- Joined: 27 Jul 2011, 17:45
Hi,
I am not able to integrate PrimeFaces with JSF 2.0. Can anyone suggest where I can find the latest jar files for JSF 2.0?
Thanks
I am not able to integrate PrimeFaces with JSF 2.0. Can anyone suggest where I can find the latest jar files for JSF 2.0?
Thanks
-
- Information
-
Who is online
Users browsing this forum: No registered users and 29 guests