Has anyone used primefaces with Seam 3? I'm thinking of using some features of seam such as security but will like to know if these tow can coexist
Anyone tried this before?
primefaces with seam 3, tried before?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
They should work in theory as primefaces is just a UI framework that is independent of the backend. Having said that, I'll ask for a team member to create a PrimeFaces-Seam3 sample application under our svn/example. We had a phonebook sample with seam2 which we should try upgrading to seam3. Watch out for PrimeFaces blog for news.
I'm using PrimeFaces 2.2 with Seam 3 Solder, Faces, International, Security, and more. I used to be using RichFaces, but found PrimeFaces neither. Simply because it is built around jQuery and offers a better extensibility than RichFaces.
I works very well.. Prime is just a UI layer and Seam Faces replaces the ManagedBean facility with CDI's BeanManager. So you need to adapt your code to CDI. So, instead of importing e.g. Faces' SessionScope you need to import CDI's SessionScope. Solder and Faces works just fine with Prime. It's easy to port your code to it.
There are areas where PrimeFaces should be better testet and integrated with Seam Solder. E.g. Handling of conversations within TabView is one of them. The Dialog should also have better support for the long running conversation model in Seam.
Please refer to the Seam 3 documentation for details.
I wish you good luck!
Ove
I works very well.. Prime is just a UI layer and Seam Faces replaces the ManagedBean facility with CDI's BeanManager. So you need to adapt your code to CDI. So, instead of importing e.g. Faces' SessionScope you need to import CDI's SessionScope. Solder and Faces works just fine with Prime. It's easy to port your code to it.
There are areas where PrimeFaces should be better testet and integrated with Seam Solder. E.g. Handling of conversations within TabView is one of them. The Dialog should also have better support for the long running conversation model in Seam.
Please refer to the Seam 3 documentation for details.
I wish you good luck!
Ove
JBoss AS 7.1
Mojarra 2.1.5
Seam 3.1.0.Final
PrimeFaces 3.1.1
PrettyFaces 3.3.2
Mojarra 2.1.5
Seam 3.1.0.Final
PrimeFaces 3.1.1
PrettyFaces 3.3.2
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
I'm also interesting in a sample with heavy usage of Seam Persistence, Faces and Security. If anyone could create one, thanks.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
I have configured Seam 3 (with Persistence, Faces etc) and included PrimeFaces as per the instructions http://www.primefaces.org/gettingStarted.html.
The components are working fine but i don't see the background images appearing. As an example <p:spinner/> appears without the up or down arrow.
But the component works fine and performs the desired functionality. Below are the CSS and JS files included in the page.
Should we be doing any additional configuration for the images to appear?
The components are working fine but i don't see the background images appearing. As an example <p:spinner/> appears without the up or down arrow.
But the component works fine and performs the desired functionality. Below are the CSS and JS files included in the page.
Code: Select all
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:c="http://java.sun.com/jstl/core"><head>
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/forms/forms.css?ln=primefaces&v=2.2" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/spinner/spinner.css?ln=primefaces&v=2.2" />
<script type="text/javascript" src="/faces/javax.faces.resource/jquery/jquery.js?ln=primefaces&v=2.2"></script>
<script type="text/javascript" src="/faces/javax.faces.resource/jquery/ui/jquery-ui.js?ln=primefaces&v=2.2"></script>
<script type="text/javascript" src="/faces/javax.faces.resource/core/core.js?ln=primefaces&v=2.2"></script>
<script type="text/javascript" src="/faces/javax.faces.resource/spinner/spinner.js?ln=primefaces&v=2.2"></script>
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/themes/sam/theme.css?ln=primefaces&v=2.2" />
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS
This is not a reply to any specific comment but you need WELD v1.1.1
(glassfish v3.1 shipped with v1.1.0 I think) for glassfish interoperability,
find the download here:
http://planet.jboss.org/view/post.seam; ... _1_1_final
and more info here:
http://seamframework.org/Seam3/Compatibility
(glassfish v3.1 shipped with v1.1.0 I think) for glassfish interoperability,
find the download here:
http://planet.jboss.org/view/post.seam; ... _1_1_final
and more info here:
http://seamframework.org/Seam3/Compatibility
-
- Posts: 1
- Joined: 24 May 2011, 14:00
Any update on this? I neew a Seam 3 + Primefaces 3 example.
Why not just knock up a quick test, add seam-catch, seam-solder &
seam-faces jars to the classpath, use @Named and @RenderScoped
& try out a few primefaces components. Make sure you've got a
beans.xml in WEB-INF if you're using a jar and make sure you've
upgraded to weld 1.1.1. Should be easy! (famous last words) .
seam-faces jars to the classpath, use @Named and @RenderScoped
& try out a few primefaces components. Make sure you've got a
beans.xml in WEB-INF if you're using a jar and make sure you've
upgraded to weld 1.1.1. Should be easy! (famous last words) .
-
- Information
-
Who is online
Users browsing this forum: No registered users and 46 guests