primefaces with seam 3, tried before?

UI Components for JSF
gcameo
Posts: 63
Joined: 02 Mar 2011, 07:38

15 Apr 2011, 21:07

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 version: 3.0-SNAPSHOT

JSF implementation: Mojarra 2.0.4

Server: Glassfish 3.1-beta

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Apr 2011, 23:33

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.

gcameo
Posts: 63
Joined: 02 Mar 2011, 07:38

16 Apr 2011, 07:36

Awesome. Will keep my eye on the samples for when a sample is ready.

Thank you
Primefaces version: 3.0-SNAPSHOT

JSF implementation: Mojarra 2.0.4

Server: Glassfish 3.1-beta

gcameo
Posts: 63
Joined: 02 Mar 2011, 07:38

29 Apr 2011, 17:54

Any update on this?
Primefaces version: 3.0-SNAPSHOT

JSF implementation: Mojarra 2.0.4

Server: Glassfish 3.1-beta

oranheim
Posts: 64
Joined: 23 Jun 2010, 12:37
Location: Oslo, Norway
Contact:

30 Apr 2011, 11:54

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
JBoss AS 7.1
Mojarra 2.1.5
Seam 3.1.0.Final
PrimeFaces 3.1.1
PrettyFaces 3.3.2

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

02 May 2011, 20:20

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

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

11 May 2011, 14:01

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.

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&amp;v=2.2" />
Should we be doing any additional configuration for the images to appear?
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

healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

12 May 2011, 00:58

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

Rushhunter
Posts: 1
Joined: 24 May 2011, 14:00

24 May 2011, 15:09

Any update on this? :D I neew a Seam 3 + Primefaces 3 example.

healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

24 May 2011, 15:37

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) :) .

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 46 guests