Error while trying to install Ultima theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

12 Jul 2017, 18:22

I'm trying to install the theme ultima and the mistake I get is
"Error loading css, cannot find "theme.css" resource of "primefaces-ultima" library"
I followed the documentation that they sent me in the email and nothing the same error


luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

13 Jul 2017, 21:09

You have a bad support and worse documentation, I bought it for personal use and was going to indicate in the company where I work so that it was bought a theme no more

luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

13 Jul 2017, 21:45

I did everything you spent on the links see the documentation and it just does not work. Same error

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

14 Jul 2017, 08:45

Did you please try our sample project?
to run our project
- sass -w src/main/webapp/resources/ --sourcemap=none
- mvn jetty:run

Also, what do you use to show theme in your project; theme*.scs files or theme.jar?

luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

14 Jul 2017, 17:12

I tried your project I ran the command and it worked, I tried the same thing in my does not work

luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

14 Jul 2017, 17:15

I do not understand why you are putting a link to github for me, at Siemens where I work we use tortoisehg I do not know how to use github

luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

14 Jul 2017, 17:30

I put the resources package as it was in the sample project in my project including the pages. I ran the command "sass -w src / main / webapp / resources / --sourcemap = none." I added in maven the dependendica ultima-theme-1.0.7. My web.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>primefaces-ultima-blue</param-value>
</context-param>

<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>ultima</param-value>
</context-param>


<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-ultima.taglib.xml</param-value>
</context-param>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>teste.xhtml</welcome-file>
</welcome-file-list>

<mime-mapping>
<extension>ttf</extension>
<mime-type>application/font-sfnt</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff</extension>
<mime-type>application/font-woff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff2</extension>
<mime-type>application/font-woff2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eot</extension>
<mime-type>application/vnd.ms-fontobject</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eot?#iefix</extension>
<mime-type>application/vnd.ms-fontobject</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg#exosemibold</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg#exobolditalic</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg#exomedium</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg#exoregular</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg#fontawesomeregular</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
</web-app>

luciano.primefaces
Posts: 7
Joined: 11 Jul 2017, 08:32

14 Jul 2017, 17:42

What I wanted was a simple tutorial to install the theme not a lot of links, here at Siemens we would buy four professional themes and elite support for 50 developers, I am the Leading Developer of several projects, if really can not install this theme I will discard this idea, working with angular and Bootstrap, because I need a responsive website

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

17 Jul 2017, 10:51

I do not understand why you are putting a link to github for me,
Github links ?? I didn't attach a github link to my comments about layout or theme.
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>ultima</param-value>
</context-param>
Please set true to param-value instead of ultima
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>primefaces-ultima-blue</param-value>
</context-param>
Please use ultima-blue instead of primefaces-ultima-blue

Also, do you get an error on browser console? Could you please attach template.xhtml and pom.xml in your project?

Please check steps in the video to install theme and layout;
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests