Hi,
after upgrading Primefaces from 5.3 to 6.0.RC1 or 6.0.RC2, I am getting these warnings in the logs:
WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-59) JSF1064: Unable to find or serve resource, primefaces.css, from library, primefaces.
WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-59) JSF1064: Unable to find or serve resource, primefaces.js, from library, primefaces.
I am using 6.0.RC1 in another projects with the community themes and I don't see these warnings, so I wonder is this has to do with the Modena theme?
PS: I am currently using modena 2.1.1.
Thanks
Unable to find or serve resource
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
We changed some ResourceDependency on PF6.0+. Therefore, please use the following ResourceDependency in ModenaMenu.java
instead of
Code: Select all
@ResourceDependency(library="primefaces", name="components.css"),
@ResourceDependency(library="primefaces", name="jquery/jquery.js"),
@ResourceDependency(library="primefaces", name="jquery/jquery-plugins.js"),
@ResourceDependency(library="primefaces", name="core.js"),
@ResourceDependency(library="primefaces", name="components.js")
Code: Select all
@ResourceDependency(library = "primefaces", name = "primefaces.css"),
@ResourceDependency(library = "primefaces", name = "jquery/jquery.js"),
@ResourceDependency(library = "primefaces", name = "jquery/jquery-plugins.js"),
@ResourceDependency(library = "primefaces", name = "primefaces.js")
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome!
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think you can use RioMenu.java and RioMenuRenderer.java from our sample project in your project and change them. We fixed this issue for next release;
https://github.com/primefaces/layouts/issues/87
https://github.com/primefaces/layouts/issues/87
Github Profile: https://github.com/mertsincan
when the new version release? I use the rio theme and layout .and just setup it into my projectaragorn wrote:I think you can use RioMenu.java and RioMenuRenderer.java from our sample project in your project and change them. We fixed this issue for next release;
https://github.com/primefaces/layouts/issues/87
jdk1.8.0_202 & Java EE 8
primefaces 8.0
Mojarra 2.3.9
GlassFish Server 5.1.0
primefaces 8.0
Mojarra 2.3.9
GlassFish Server 5.1.0
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
At the end of this month, we plan to publish it.
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests