Extend Primefaces

UI Components for JSF
Post Reply
markusg80
Posts: 36
Joined: 21 Nov 2013, 17:11

14 Jun 2018, 17:48

Can someone help me and provide some information to start extending Primefaces with new components. I like to develop components that are compatible with Primefaces and use Primefaces Widgets for example.
PrimeFaces 6.1.8,Mojarra 2.2.14,Payara 173

tandraschko
PrimeFaces Core Developer
Posts: 3425
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

14 Jun 2018, 21:23

Look at the PrimeFaces Extensions source in GitHub, thats probably the best source.
None of us has sadly written a guide for it. (@melloware, rapster, ... - some interessted? :D)
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

markusg80
Posts: 36
Joined: 21 Nov 2013, 17:11

14 Jun 2018, 21:39

Ok i take a look at 😉 i like to write a chart.js jsf component that is compatible eith primefaces. The chart component of Primefaces not looks fine and not support features like grouped stack barchart! It exist a bug for this Extension but it seems no one of Primefaces is intersting to rewrite the chart api.
PrimeFaces 6.1.8,Mojarra 2.2.14,Payara 173

ravihariharan
Posts: 35
Joined: 12 Feb 2016, 17:03

14 Jun 2018, 22:07

https://github.com/hatemalimam/ChartistJSF

Have a look at this for chartist-js

markusg80
Posts: 36
Joined: 21 Nov 2013, 17:11

14 Jun 2018, 22:35

Yes i know about ChartistJsf. But it doesnt support Group Stacked Barcharts. Its also not possible to use Google Charts because its not allowed to host Google Charts Script on my own Server. And my Company Policy not allow to run Scripts from other domains. Highcharts is very expensive. Primefaces dont want to rewrite the Chart API. So i end up to write my own. Maybe later i can contribute code to Primefaces ;)
PrimeFaces 6.1.8,Mojarra 2.2.14,Payara 173

tandraschko
PrimeFaces Core Developer
Posts: 3425
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

15 Jun 2018, 09:47

If you found a bug, you can just create a issue + provide a PR as bugfix ;)

And no, i don't want to reinvent the wheel, invest many weeks to write a chart API. You know that its very expensive and no one pays it when there are so many alternatives ;)

I personally use AnyChart and you can easily build the whole chart with json. There is no need for a component.
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Majestic-12 [Bot] and 6 guests