Extend Primefaces

UI Components for JSF
Post Reply
markusg80
Posts: 69
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 12.0.0,Mojarra 4.0.0,Payara 6

tandraschko
PrimeFaces Core Developer
Posts: 3979
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)
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

markusg80
Posts: 69
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 12.0.0,Mojarra 4.0.0,Payara 6

ravihariharan
Posts: 58
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: 69
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 12.0.0,Mojarra 4.0.0,Payara 6

tandraschko
PrimeFaces Core Developer
Posts: 3979
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.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 30 guests