Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Problem Liferay 6 with primefaces PortletFaces Community Member March 6, 2012 12:59 PM
RE: Problem Liferay 6 with primefaces Neil Griffin March 6, 2012 1:15 PM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 7, 2012 5:38 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 14, 2012 9:25 AM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 14, 2012 2:28 PM
RE: Problem Liferay 6 with primefaces Neil Griffin March 15, 2012 9:31 AM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 21, 2012 1:33 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 23, 2012 12:49 PM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 23, 2012 4:01 PM
RE: Problem Liferay 6 with primefaces Neil Griffin March 26, 2012 9:41 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 26, 2012 9:56 AM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 26, 2012 11:04 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 26, 2012 5:10 PM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 27, 2012 4:39 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 27, 2012 5:59 AM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 29, 2012 11:19 AM
RE: Problem Liferay 6 with primefaces Neil Griffin March 29, 2012 11:24 AM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 29, 2012 2:38 PM
RE: Problem Liferay 6 with primefaces PortletFaces Community Member March 29, 2012 3:12 PM
RE: Problem Liferay 6 with primefaces hiho hihi April 3, 2012 4:08 AM
RE: Problem Liferay 6 with primefaces Neil Griffin April 3, 2012 11:20 AM
RE: Problem Liferay 6 with primefaces Neil Griffin September 4, 2012 12:15 PM
PortletFaces Community Member
Problem Liferay 6 with primefaces
March 6, 2012 12:59 PM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

Hi ,

I would like to work with liferay 6 and primefaces, but I have a problem ti integrate primefaces with liferay. Even <p:commandButton> and <p:commandLink> don't work means don't have any action, they only
execute the methods of bean but don't display anything from the destination page.
Help me please and sorry for my bad english.
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 6, 2012 1:15 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

I've seen posts here by developers that have successfully used PrimeFaces. Please attach a test portlet to this message that reproduces your problem. If possible, please attach a maven-based project.
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 7, 2012 5:38 AM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

Thanks Neil

this is an example of a portlet which causes a problem, for example here when I execute the method deleteUser , the user is deleted from data base but I have an empty page after executing the method and I don't have the container of my page test.xhtml. This is my project :
Attachments: UsersBean.java (0.9k), faces-config.xml (1.7k), portletViewMode.xhtml (1.5k), test.xhtml (0.6k), web.xml (1.8k)
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 14, 2012 9:25 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

Hi Farhat,

I should have an opportunity to look at this in the coming weeks, but for now, did you try Cagatay's example portlet?
http://code.google.com/p/primefaces/source/browse/examples/trunk/prime-portlet

Neil
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 14, 2012 2:28 PM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

Hi Neil ,
I had been tried with the url that you had given but any results emoticon
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 15, 2012 9:31 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

Are you using Liferay 6.0 or Liferay 6.1? Also, what version of PrimeFaces?
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 21, 2012 1:33 AM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

I use liferay 6.0 and primefaces 3.1 , also I had tried by using primefaces 2.2 but any result
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 23, 2012 12:49 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

I developed a PrimeFaces demo portlet using PrimeFaces. I tried version 3.1 and 3.2 and ran into problems. Specifically, f:ajax DOM replacement fails due to PrimeFaces HeadRenderer, as it renders <head>...</head> elements which are not permitted in a portlet environment.

This bug will be fixed in version 3.0 of the bridge, which should be coming out Around April 6th.

Note that the demo portlet utilizes p:inputText, p:calendar, and p:commandButton. I tried using p:fileUpload but ran into problems there too. I spent a lot of time trying to make it work, but I need to gave the PrimeFaces team fix a problem first. See the following links for more info:
http://code.google.com/p/primefaces/issues/detail?id=2905
http://forum.primefaces.org/viewtopic.php?f=3&t=9253
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 23, 2012 4:01 PM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

If you had developped a basic portlet with primefaces can you give me the whole code may be it will help me
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 26, 2012 9:41 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

We're doing a transition from the source repository to Git and I'm not able to release any code until around April 5th.

However, I just tried Cagatay's example here:
http://code.google.com/p/primefaces/source/browse/examples/trunk/prime-portlet

There are three portlets in his example:

Prime1: Read-only type of portlet that simply outputs "Welcome to Gambit Portlet Powered by PrimeFaces"

Prime2: Demo of p:calendar and p:commandButton

Prime3: Demo of p:editor and p:commandButton

All three portlets seem to work fine, but you can only have 1 portlet on a portal page. This is a known JavaScript problem that I still have to work out with Cagatay, see:
http://forum.primefaces.org/viewtopic.php?f=3&t=14612&sid=a5a00f528521acb4002cc7ce5bd94675&start=10
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 26, 2012 9:56 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

We're doing a transition from the source repository to Git and I'm not able to release any code until around April 5th.

However, I just tried Cagatay's example here:
http://code.google.com/p/primefaces/source/browse/examples/trunk/prime-portlet

There are three portlets in his example:

Prime1: Read-only type of portlet that simply outputs "Welcome to Gambit Portlet Powered by PrimeFaces"

Prime2: Demo of p:calendar and p:commandButton

Prime3: Demo of p:editor and p:commandButton

All three portlets seem to work fine, but you can only have 1 portlet on a portal page. This is a known JavaScript problem that I still have to work out with Cagatay, see:
http://forum.primefaces.org/viewtopic.php?f=3&t=14612&sid=a5a00f528521acb4002cc7ce5bd94675&start=10
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 26, 2012 11:04 AM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

thanks Neil for your interesting ,I tried to make just one portlet to work by copying and paste code from http://code.google.com/p/primefaces/source/browse/examples/trunk/prime-portlet but the problem persist the <p: commandButton> doesn't have any action. Really , I don't understand what's the problem. Can you give me your jars please
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 26, 2012 5:10 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

I tried to upload the WAR to this thread but it exceeds the max file size.

Try this:

svn co http://primefaces.googlecode.com/svn/examples/trunk/prime-portlet
cd prime-portlet
mvn clean package

In the target folder, you should have a WAR file that you can copy to the Liferay deploy folder.
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 27, 2012 4:39 AM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

the war file was not found on the folder
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 27, 2012 5:59 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

When you did "mvn clean package" did it report the following?

1[INFO] Building war: prime-portlet/target/prime-portlet-1.0.0-SNAPSHOT.war
2[INFO] WEB-INF/web.xml already added, skipping
3[INFO] ------------------------------------------------------------------------
4[INFO] BUILD SUCCESS
5[INFO] ------------------------------------------------------------------------
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 29, 2012 11:19 AM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

May be I will change to work with icefaces , I'd like that you advice me about this idea Neil .
Neil Griffin
RE: Problem Liferay 6 with primefaces
March 29, 2012 11:24 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

ICEfaces2 has the most compatibility at this time with the 2.0.x version of the bridge. We will be posting demo portlets for ICEfaces3, PrimeFaces3, and RichFaces4 soon as well, but that will require the forthcoming 3.0.x version of the bridge.
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 29, 2012 2:38 PM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

thank you Neil
When this version will be coming
PortletFaces Community Member
RE: Problem Liferay 6 with primefaces
March 29, 2012 3:12 PM
Answer

PortletFaces Community Member

Rank: Regular Member

Posts: 201

Join Date: April 2, 2012

Recent Posts

The prime portlet that you had given works fine now . The only error is when I load every page (editor.xhtml , calendar.xhtml ...) I have an alert javaScript
which contains this message :

Error in extras bootstrap [ Type Error : window.logger is undefined ]

Any idea please about this
hiho hihi
RE: Problem Liferay 6 with primefaces
April 3, 2012 4:08 AM
Answer

hiho hihi

Rank: New Member

Posts: 1

Join Date: April 3, 2012

Recent Posts

Bonjour tout le monde,
je suis débutant avec liferay , je veux réaliser une simple portlet liferay avec une page JSF avec primefaces sous eclipse indigo, liferay-portal-server 6.0 (tomcat 6) et liferay sdk plugins 6.1, mais les balises <p:....> ça marche pas (ne s'affichent pas dans ma page) même si j'ai ajouté les fichiers jar de primefaces, par contre les balises <h:.....> ça marche bien.

merci d'avance pour votre propositions
Neil Griffin
RE: Problem Liferay 6 with primefaces
April 3, 2012 11:20 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

Hopefully we'll have the 3.0.0-BETA version of Liferay Faces posted on Friday and you will be able to start with the new PrimeFaces 3 reference portlet:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#primefaces3-portlet
Neil Griffin
RE: Problem Liferay 6 with primefaces
September 4, 2012 12:15 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2351

Join Date: July 26, 2005

Recent Posts

The 3.0.0-BETA1 version is out now. The liferay.com website will be updated with download links today or tomorrow.

For now, you can download it from here:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#primefaces3-portlet

And the code is in GitHub here:
https://github.com/liferay/liferay-faces/tree/master/demos/bridge/primefaces3-portlet

Please let me know how it works out for you.