Update Version 3.3.1 - New PrimeOne

Forum rules
Please note that response time for technical support is within 3-5 business days.
User avatar
ajotta
Posts: 71
Joined: 16 Feb 2016, 13:41
Location: Brasil
Contact:

16 Sep 2020, 15:09

Hello,

When trying to upgrade to Version 3.3.1 after doing the entire procedure according to the CHANGELOG.md file, I am getting errors as shown in the images below.

https://imgur.com/2xcDKvP
https://imgur.com/7Ky0COc
https://imgur.com/zXsJ82G

I would be happy to help you get started on this new version with PrimeOne. :D

PS. Every version update and always a big headache to update, does anyone else in the community suffer from these updates? :lol: :lol: :lol:
--
Jarciano Silva
CEO - Chief Executive Officer
ajotta | https://ajotta.com

User avatar
ajotta
Posts: 71
Joined: 16 Feb 2016, 13:41
Location: Brasil
Contact:

18 Sep 2020, 19:23

Hello,

I updated Paradise perfectly it worked first, unfortunately with Babylon it doesn't work, I would like a help.
--
Jarciano Silva
CEO - Chief Executive Officer
ajotta | https://ajotta.com

mdvenoms
Posts: 29
Joined: 24 Sep 2015, 13:07

25 Sep 2020, 16:15

Same here, until the latest release the updates went very well but the current release does not work anymore.
I would highly appreciate a more detailed migration guide that also covers a custom layout and theme.
Furthermore, many more files have changed and where not mentioned to update them.

Thank you very much guys

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

28 Sep 2020, 11:30

Yes, unfortunately almost all style files were changed. Please review the changes between versions in CHANGELOG.md in zip.

Best Regards,

lbroker
Posts: 30
Joined: 26 Jun 2014, 02:39
Location: Lithuania

28 Sep 2020, 23:43

I also have issues with migration to Babylon 3.3.1
And in Babylon 3.3.1 distribution there is no babylon-3.3.1.war demo application
In Babylon 3.2.0 distribution there were babylon-3.2.0,war demo application.
How we can get demo app working with babylon 3.3.1?

Lbroker

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

29 Sep 2020, 16:05

Yes, war files have been removed for all layouts. Some Users were trying to run the war file with a different server without making the necessary server settings in the project and they were getting a lot of errors. So we will no longer add a .war file to the zip file. You can use "tag" folder. Please use this command;

Code: Select all

sass --update src/main/webapp/resources:src/main/webapp/resources --no-source-map
mvn clean jetty:run
You can find .war file under the target folder.

Best Regards,

User avatar
ajotta
Posts: 71
Joined: 16 Feb 2016, 13:41
Location: Brasil
Contact:

30 Sep 2020, 15:07

Hi,

I am disappointed with the solutions, my team created a project from scratch and even then the error continues to appear, see from the image that even after following all the process requested by you the project does not work.

I am in urgent need for this update because my project is stopped in this update, I thank you from the heart if possible a video or clearer documentation for this new stage of themes with PrimeOne.

https://imgur.com/JeRWXaC

https://imgur.com/2xcDKvP
https://imgur.com/7Ky0COc
https://imgur.com/zXsJ82G

Regards,
--
Jarciano Silva
CEO - Chief Executive Officer
ajotta | https://ajotta.com

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

02 Oct 2020, 10:26

Hi,

Could you please attach your web.xml file? Also, please check the value of primefaces.THEME param in web.xml

Best Regards,

User avatar
ajotta
Posts: 71
Joined: 16 Feb 2016, 13:41
Location: Brasil
Contact:

06 Oct 2020, 02:49

Hi

I checked and it is like yours, follow the web.xml for your analysis.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
   
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
	
    <listener>
        <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
    </listener>
    <filter>
        <filter-name>springSecurityFilterChain</filter-name>
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    </filter>
	
    <filter-mapping>
        <filter-name>springSecurityFilterChain</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
    </filter-mapping>

    <welcome-file-list>
        <welcome-file>dashboard.xhtml</welcome-file>
    </welcome-file-list>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
    <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>babylon-#{guestPreferences.theme}</param-value>
    </context-param>
    <context-param>
        <param-name>primefaces.FONT_AWESOME</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
        <param-value>/WEB-INF/primefaces-babylon.taglib.xml</param-value>
    </context-param>
    <listener>
        <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <filter>
        <filter-name>Character Encoding Filter</filter-name>
        <filter-class>org.primefaces.babylon.filter.CharacterEncodingFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>Character Encoding Filter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.xhtml</url-pattern>
    </servlet-mapping>
    <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>

--
Jarciano Silva
CEO - Chief Executive Officer
ajotta | https://ajotta.com

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

06 Oct 2020, 11:01

Hi,

Do you have GuestPreferences.java file? If yes, please check the value of #{guestPreferences.theme}. We are using it to change the theme in live demo. it may be unnecessary for you. Could you please try it with a static value? Exp; babylon-blue
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>babylon-blue</param-value>
</context-param>

Best Regards,

Post Reply

Return to “Babylon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests