Does Prime Faces support facelets.?

UI Components for JSF
Post Reply
rameshpotti
Posts: 2
Joined: 22 May 2009, 16:20

22 May 2009, 16:24

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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 May 2009, 01:15

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.

rameshpotti
Posts: 2
Joined: 22 May 2009, 16:20

23 May 2009, 14:35

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:

Code: Select all

<p:pieChart value="#{orders}" var="order" categoryField="#{order.type}" dataField="#{order.amount}" />
In the above #{orders} list will Inject from my SessionBean into my facelets page.

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

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 May 2009, 19:31

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?

new_learner
Posts: 1
Joined: 27 Jul 2011, 17:45

27 Jul 2011, 17:51

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

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

27 Jul 2011, 20:22

http://primefaces.org/downloads.html

All of the versions on the downloads-page are JSF2-only.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests