Hi --
It looks like PrimeFaces is partially based on jQuery UI. I need a widget like the "Choice 1, Choice 2, Choice 3" row of buttons shown on this jQuery UI page (in the top left under "buttons):
http://jqueryui.com/themeroller/
Is there a way to get a widget like this in PrimeFaces?
I'm currently using PrimeFaces 2.2.
Thanks!
rob
is there a PrimeFaces widget like this jQuery UI widget?
Hi,
Not yet, but there is an issue ticket.
Not yet, but there is an issue ticket.
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:
Probably it will be in 3.0.M2.
- maple_shaft
- Posts: 58
- Joined: 10 Mar 2011, 19:49
There is a way that you can simulate this behavior, I do this for my app.
Unpackage the JAR files for the skins you want and put them in seperate folders under WEB-INF, I create a folder 'themes' under WEB-INF.
In web.xml set the Primefaces theme context param as so:
In your page create a dynamic link to the CSS stylesheet:
The EL expression above in the link determines which folder to look for the CSS file. I default the folder to redmond personally from a properties file.
A themeroller would be nice but this works as well.
Unpackage the JAR files for the skins you want and put them in seperate folders under WEB-INF, I create a folder 'themes' under WEB-INF.
In web.xml set the Primefaces theme context param as so:
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>none</param-value>
</context-param>
Code: Select all
<link type="text/css" rel="stylesheet" href="#{request.contextPath}/themes/#{beanSession.theme}/theme.css" />
A themeroller would be nice but this works as well.
First Primefaces Application: PrimeFaces 2.2.1, Mojarra 2.0.4, Tomcat 7.08 - JBoss 6
Second Primefaces Application: Primefaces 3.0 FINAL (<-- AWESOME!), Mojarra 2.1.2, Spring 3 with Spring Security and Spring EL Resolver, Tomcat 6
Second Primefaces Application: Primefaces 3.0 FINAL (<-- AWESOME!), Mojarra 2.1.2, Spring 3 with Spring Security and Spring EL Resolver, Tomcat 6
-
- Information
-
Who is online
Users browsing this forum: No registered users and 59 guests