I cannot find ModenaMenu.java

UI Components for JSF
Post Reply
leacardenas
Posts: 30
Joined: 24 Aug 2016, 18:52

26 Nov 2016, 02:34

Hello, I have been migrating Primefaces to the lastest version (6.0), but this error pops up:

Unable to find resource primefaces, primefaces.js
Unable to find or serve resource, primefaces.css


after reading and investigation I need to change the ModenaMenu.java resources like this:

Code: Select all

@ResourceDependency(library="primefaces", name="primefaces.js")
to

Code: Select all

@ResourceDependency(library="primefaces", name="core.js"), @ResourceDependency(library="primefaces", name="components.js")
But i cannot find my ModenaMenu.java only the ModenaMenu.class that cannot be edited.

Also when I click on Netbeans on the ModenaMenu.class a .java appears but it says: showing generated source file. No sources are attached to class' JAR file.

ps: I'm using modena's version: 1.0.1

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

29 Nov 2016, 06:50

Please use modena 2.1.3 version.

leacardenas
Posts: 30
Joined: 24 Aug 2016, 18:52

30 Nov 2016, 21:15

I have know the Modena 2.1.3.

Now, where can I find the ModenaMenu.java??

I can see it on the .zip that comes with the download package, but not in the JAR.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

01 Dec 2016, 08:41

We made some changes for compatibility with 6.0 and 6.0.x on Layouts.(https://github.com/primefaces/layouts/issues/106) Therefore, please use modena 2.1.3.
I can see it on the .zip that comes with the download package, but not in the JAR.
I check your issue. There are ModenaMenu.java and ModenaMenuRenderer in jar.

You don't need to make a change as the following code with 2.1.3;

@ResourceDependency(library="primefaces", name="core.js"), @ResourceDependency(library="primefaces", name="components.js")

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests