I was trying to look at the primefaces showcase calendar example(https://www.primefaces.org/showcase/ui/ ... ndar.xhtml CalendarView.java) but couldn't find this import import org.primefaces.PrimeFaces;
Wheres the Class file?
Its not in the primefaces-6.1 .jar
Missing Class from primefaces jar please help
-
- Posts: 84
- Joined: 11 Sep 2014, 10:13
- Location: Brussels, Belgium
Hi!
Your finding is correct. org.primefaces.PrimeFaces is not part of PrimeFaces 6.1
But the Showcase is running on PrimeFaces 6.2-SNAPSHOT (as you can see in the POM on GitHub https://github.com/primefaces/showcase/ ... er/pom.xml or by going to the Showcase on the web https://www.primefaces.org/showcase/index.xhtml and scrolling to the bottom right.
When you look into the code https://github.com/primefaces/primeface ... primefaces you can see the new class that is missing in your project because of the wrong version.
To fix this: Since 6.2-SNAPSHOT is published neither on Maven central nor the Primefaces repo, check it out from Github, build it yourself with 'mvn install' and your maven project can access the SNAPSHOT version from your local maven repository. In case of questions, shoot!
(complementary question: Is there a snapshat repo of PF I am not aware of?)
Your finding is correct. org.primefaces.PrimeFaces is not part of PrimeFaces 6.1
But the Showcase is running on PrimeFaces 6.2-SNAPSHOT (as you can see in the POM on GitHub https://github.com/primefaces/showcase/ ... er/pom.xml or by going to the Showcase on the web https://www.primefaces.org/showcase/index.xhtml and scrolling to the bottom right.
When you look into the code https://github.com/primefaces/primeface ... primefaces you can see the new class that is missing in your project because of the wrong version.
To fix this: Since 6.2-SNAPSHOT is published neither on Maven central nor the Primefaces repo, check it out from Github, build it yourself with 'mvn install' and your maven project can access the SNAPSHOT version from your local maven repository. In case of questions, shoot!
(complementary question: Is there a snapshat repo of PF I am not aware of?)
Primefaces 6.1+
Wildfly 11
Wildfly 11
No there is not (unfortunately not)...Jan Eckert wrote: ↑29 Dec 2017, 11:25(complementary question: Is there a snapshat repo of PF I am not aware of?)
(To prevent answering wrongly I assume with 'snapshat' you meant snapshot and not snapchat )
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
"PrimeFaces" is just a new end-user utility instead of the old RequestContext. So you can still find every method in RequestContext, maybe just with a little bit different name. REquestContext will be refactored in 6.3.
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
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests