Dear all,
I'd like to give an update of 2.2 Status,
- There are currently a couple of pending issues related to datatable maintenance.
- We'll change the way themes are used as we can't maintain them properly, we need to do fixes and improve them but having unversioned zip files make it hard. They will now be bundled as jar instead, (e.g. primefaces-aristo-1.0.0.jar), properly versioned and configured in context-param via primefaces.SKIN or primefaces.THEME parameter. So you don't have to add the css link to your pages.
- Portlet support, we'll add support for portlets and create a kickstart sample for liferay.
Once these are done, 2.2 will be released, hopefully next week once QA is happy
User's Guide for 2.2 is completed and currently being reviewed for errata by a new member of PrimeFaces Team.
So in summary, we are working hard at the moment to provide a stable and high quality 2.2 before we start with 3.0.
Regards,
Cagatay Civici
PrimeFaces Lead
2.2 Status
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Have you created your own theme?
Yes we have; We've created several for us and our customers.
This is also a SAAS(Software as a Service) application, so we've advertised that with Themeroller, they would be able to easily blend this SAAS app into the their existing applications. Losing the Themeroller ability is a significant a loss for us, and IMHO the Primefaces community. It was honestly one of the reasons we chose Primefaces, so we'd be very sad to see it go.
This is also a SAAS(Software as a Service) application, so we've advertised that with Themeroller, they would be able to easily blend this SAAS app into the their existing applications. Losing the Themeroller ability is a significant a loss for us, and IMHO the Primefaces community. It was honestly one of the reasons we chose Primefaces, so we'd be very sad to see it go.
Looking at my post, I sounded like a cry baby. I understand this is a difficult task, so I would like to know if there's anything we can do to help.
Since Primefaces pushes JQueryUI to the page, can you enumerate the problems you are having getting the jquery themes to work?
Since Primefaces pushes JQueryUI to the page, can you enumerate the problems you are having getting the jquery themes to work?
I have also used Themeroller to create a custom theme. It would be disappointing to lose that capability. From looking at the default SAM theme it looks like it would be easy to modify the CSS or images in the jar with custom ones but maybe I am missing something.
Prime Faces 6.2
Mojarra 2.2.14
Apache Tomcat 9.0
Internet Explorer 10,11
Mojarra 2.2.14
Apache Tomcat 9.0
Internet Explorer 10,11
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Let me clear the misunderstanding here, ThemeRoller is not going anywhere, I think it is one of the best features of PrimeFaces.
We're just improving the way we use ThemeRoller, themes will now be in a jar like primefaces-aristo-1.0.0.jar, primefaces-rocket-1.1.jar, properly versioned and easy to maintain. We are adding a new themes project to our svn and work on them there instead of dealing with zip files of theme gallery. Also setting primefaces.SKIN to theme name will automatically include the theme css to the pages, in the past it requires manual addition.
The change is backward compatible, you can still set primefaces.SKIN parameter to none and include your css manually. Or even jar your own theme and plug-in to this new infrastructure, docs will be ready soon.
We're just improving the way we use ThemeRoller, themes will now be in a jar like primefaces-aristo-1.0.0.jar, primefaces-rocket-1.1.jar, properly versioned and easy to maintain. We are adding a new themes project to our svn and work on them there instead of dealing with zip files of theme gallery. Also setting primefaces.SKIN to theme name will automatically include the theme css to the pages, in the past it requires manual addition.
The change is backward compatible, you can still set primefaces.SKIN parameter to none and include your css manually. Or even jar your own theme and plug-in to this new infrastructure, docs will be ready soon.
Hello,
Hmm... I was not quite happy to read this because we have a theme war project where all relevant themes checked in. They are under version control. This theme web app is merged with other web apps during Maven build (war overlays). So, I didn't understand why we need jar files instead of war file. A war file is better because it can be easy merged with any other web app (Maven feature). For jar files we need to use #{resource[...]} syntax and that's problematic if you use yui-compressor plugin. Yui-compressor plugin adds ; to the #{resource[...]}, e.g. Web app is broken after that because FacesServlet can not handle that. Sorry, but it's really not good news. Can you maintain war files and not jars at least? The second question - how themes can be changed by user? We don't use ThemeRoller, current theme is a part of user settings and points to the folder where the theme is located.
Theme changing reloads the entire web app and everything works fine. Will it be still possible?
Hmm... I was not quite happy to read this because we have a theme war project where all relevant themes checked in. They are under version control. This theme web app is merged with other web apps during Maven build (war overlays). So, I didn't understand why we need jar files instead of war file. A war file is better because it can be easy merged with any other web app (Maven feature). For jar files we need to use #{resource[...]} syntax and that's problematic if you use yui-compressor plugin. Yui-compressor plugin adds ; to the #{resource[...]}, e.g.
Code: Select all
background: url(#{resource[...]};)
Code: Select all
<link type="text/css" rel="stylesheet" href="#{userSettings.curTheme}/skin.css">
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Now themes are packaged as jar so we can do proper versioning like;
When theme.version property is changed, app should pick up the new theme. No need to manually add css file to the jsf pages with h:outputStylesheet or link tags as PrimeFaces will do that for you.
For multi theme projects following is possible;
The themes we distribute should be compressed already.
Still you can forget all these new stuff, change is backward compatible, just set primefaces.THEME param to none and include the theme the way you like (war, jar, ...)
It is a matter of preference how you use the themes.
Code: Select all
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>aristo</artifactId>
<version>${theme.version}</version>
</dependency>
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>black-tie</artifactId>
<version>${theme.version}</version>
</dependency>
For multi theme projects following is possible;
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>#{userPreferences.theme}</param-value>
</context-param>
Still you can forget all these new stuff, change is backward compatible, just set primefaces.THEME param to none and include the theme the way you like (war, jar, ...)
It is a matter of preference how you use the themes.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests