Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Gaurav Sharma
Liferay and Primefaces: Multiple Primefaces portlets on the same page cause
2013. január 24. 6:34
Válasz

Gaurav Sharma

Rangsorolás: Junior Member

Hozzászólások: 35

Csatlakozás dátuma: 2012. november 1.

Legújabb hozzászólások

I asked a question on StackOverflow. Instead of repeating it, I'm linking to it. SO Link. I have not received an answer yet and have been trying to get it to work for the past few days now without any luck.

Can someone suggest what I might be doing wrong?
Neil Griffin
RE: Liferay and Primefaces: Multiple Primefaces portlets on the same page c
2013. január 24. 14:49
Válasz

Neil Griffin

LIFERAY STAFF

Rangsorolás: Liferay Legend

Hozzászólások: 1455

Csatlakozás dátuma: 2005. július 26.

Legújabb hozzászólások

The StackOverflow issue indicated that jQuery is being loaded multiple times. When you get a chance, please look at the <head>...</head> section of the rendered HTML of your portal page and let me know if you see jquery.js in there more than once. This shouldn't be a problem with the latest versions of Liferay Faces. Thanks.
Gaurav Sharma
RE: Liferay and Primefaces: Multiple Primefaces portlets on the same page c
2013. január 24. 15:03
Válasz

Gaurav Sharma

Rangsorolás: Junior Member

Hozzászólások: 35

Csatlakozás dátuma: 2012. november 1.

Legújabb hozzászólások

Neil, you are right. I just upgraded to the latest vesion (3.1.1-ga2) and jQuery is only loaded once. I'm still trying to debug the issue. I'm mainly having problems with the file upload component of PrimeFaces and the tab component.

Thanks.
Gaurav
Neil Griffin
RE: Liferay and Primefaces: Multiple Primefaces portlets on the same page c
2013. január 24. 15:12
Válasz

Neil Griffin

LIFERAY STAFF

Rangsorolás: Liferay Legend

Hozzászólások: 1455

Csatlakozás dátuma: 2005. július 26.

Legújabb hozzászólások

Hi Gaurav,

The file upload problem is a known issue: FACES-1384

But we didn't know about the tab component. When you get a chance, could you create a new bug issue in the Liferay Issue Tracker for the FACES project?

Thanks,

Neil
Gaurav Sharma
RE: Liferay and Primefaces: Multiple Primefaces portlets on the same page c
2013. január 25. 7:34
Válasz

Gaurav Sharma

Rangsorolás: Junior Member

Hozzászólások: 35

Csatlakozás dátuma: 2012. november 1.

Legújabb hozzászólások

It seems that the tab problem was because I was using dynamic="true" for the tabs. Using the simple tab view solved the problem.

But the file upload issue as you pointed out, is a known issue. What would be the best workaround in this case. I noticed that he bridge itself has a file upload implementation though I've not tried it out yet. Would that be the way to go?
Gaurav Sharma
RE: Liferay and Primefaces: Multiple Primefaces portlets on the same page c
2013. január 25. 7:44
Válasz

Gaurav Sharma

Rangsorolás: Junior Member

Hozzászólások: 35

Csatlakozás dátuma: 2012. november 1.

Legújabb hozzászólások

Added an issue at FACES-1472