Fórum

JSF Portlet tutorial

Sudhakar Ramasamy, modificado 17 Anos atrás.

JSF Portlet tutorial

New Member Postagens: 8 Data de Entrada: 20/08/06 Postagens Recentes
I have searched far and near trying to find a tutorial on how to go about creating a JSF deployable war portlet for Liferay. But have found no (step-by-step) examples of how to do this.

If someone could up a tutorial I think it would help a whole lot if us (I'm sure I'm not the only one wanting to use JSF portlets in Liferay!).

Would appreciate the help.

-sud
thumbnail
Pinki S, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Regular Member Postagens: 124 Data de Entrada: 23/11/06 Postagens Recentes
ya Ram you are correct,I am also one that who are waiting to use JSF in LP.

We need tutorial help us...
Kay Kay, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 17 Data de Entrada: 18/05/06 Postagens Recentes
Don't expect too much of jsf. Nice components from tomahawk or sandbox do not work within Liferay. Also it`s not possible to use Facelets. Most of this is because Liferay works with HttpPortletRequest while these components try to cast to HttpServletRequest.
Sudhakar Ramasamy, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 8 Data de Entrada: 20/08/06 Postagens Recentes
If JSF is not the recommended UI framework to use with Liferay, is Struts the recommended framework. There is documentation on creating strus portlets on the Liferay website.

In the roadmap document (http://www.liferay.com/web/guest/devzone/features_and_road_map/future_releases) there is a mention about refactoring portlets into JSF. Does this mean that support for JSF is going to get better (ie. if it isn't good already)?

A step-by-step example for JSF portlet development in liferay should still help us develop some simplet portlets.

Thanks
-sud
thumbnail
James Min, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Expert Postagens: 293 Data de Entrada: 14/08/06 Postagens Recentes
For all new development we support Struts and JSF.

We are coming out with a JSF portlet tutorial in war format, and that also includes interaction to the database via our ext service layer, build from service builder.

We have done the JSF portlet war in our public and private trainings.

Please keep an eye out for this soon. I'll post here when it is available.

Thanks!
thumbnail
Pinki S, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Regular Member Postagens: 124 Data de Entrada: 23/11/06 Postagens Recentes
Bring it soon.

Thank u
Sudhakar Ramasamy, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 8 Data de Entrada: 20/08/06 Postagens Recentes
+1 for JSF portlet tutorial asap. Thanks.
thumbnail
James Min, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Expert Postagens: 293 Data de Entrada: 14/08/06 Postagens Recentes
In the mean time before the tutorial comes out you can go here:

http://www.liferay.com/web/guest/downloads/samples


Look for" Sample JSF". These are the basic skeleton WARs implementing JSF.
thumbnail
Pinki S, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Regular Member Postagens: 124 Data de Entrada: 23/11/06 Postagens Recentes
Thank u James we already downloaded and deploy it,and also it working fine but we add third party components like tomahack or ADF JSF ,we got class cast or renderer exception.Give any solution.


Thanks in advance.
thumbnail
Luis Pok Leong, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 11 Data de Entrada: 21/12/06 Postagens Recentes
That's good, please make sure all the tutorial can work with Tomahawk,

Thx very much.
thumbnail
satya jangala, modificado 13 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 8 Data de Entrada: 08/11/10 Postagens Recentes
Luis Pok Leong:
That's good, please make sure all the tutorial can work with Tomahawk,

Thx very much.


hi friend,

i am satya,send me once i will try to get the solution

thanks in advance
staya
thumbnail
Srikanth Reddy Sanivarapu, modificado 15 Anos atrás.

RE: JSF Portlet tutorial

Regular Member Postagens: 203 Data de Entrada: 15/11/08 Postagens Recentes
Hi All,
Can anybody send me work JSF portlet with tomahawk and ajax4jsf jars.?

Please reply me , its very urgent.

Thanks & Regards,
Srikanth Reddy.S
thumbnail
James Min, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Expert Postagens: 293 Data de Entrada: 14/08/06 Postagens Recentes
Kay Kay:
Don't expect too much of jsf. Nice components from tomahawk or sandbox do not work within Liferay. Also it`s not possible to use Facelets. Most of this is because Liferay works with HttpPortletRequest while these components try to cast to HttpServletRequest.


This might be because MyFaces/Tomahawk is not container agnostic. The components that do not work in Liferay, are not likely to work in any portlet environment.
thumbnail
Joseph Shum, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Expert Postagens: 336 Data de Entrada: 17/05/06 Postagens Recentes
hey kay,

I haven't tested all tomahawk components but many of them do work in portlet wars as do facelets.
Kay Kay, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 17 Data de Entrada: 18/05/06 Postagens Recentes
Hi!

Sounds good to me! Maybe my informations are too old. Did anyone already try to use
<s:schedule></s:schedule>
from sandbox???

Another good idea for a Tutorial would be using zk (www.zkoss.org) in Liferay. I've already a bit experience with this, but I can not write it to LiferayPedia, because my account doesn´t work. All my posts about this are ignored in this forum!emoticon

http://www.liferay.com/web/guest/community/forums/message_boards/message/102587
http://www.liferay.com/web/guest/community/forums/message_boards/message/93950
hamid sol, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Junior Member Postagens: 49 Data de Entrada: 14/09/06 Postagens Recentes
Ok, i've seen the tutorials, thanks.
But my app has more than one classes and I work with hibernate. I couldn't see how I can deploy an app with
several classes.
Thanks
thumbnail
Ray Auge, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Liferay Legend Postagens: 1197 Data de Entrada: 08/02/05 Postagens Recentes
Could you try this link on the wiki?

http://wiki.liferay.com/index.php/Special:Userlogin

Put in the same username you used and click "E-mail Password", just to see if for some reason there was a problem with the email server the first (dozen) time(s) you tried.
thumbnail
James Min, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

Expert Postagens: 293 Data de Entrada: 14/08/06 Postagens Recentes
The tutorial is up!

Please take a look at: http://www.liferay.com/web/guest/documentation/4_2/development#presentations

It is under the "JSF Portlet" section near the bottom.

***Please note that as of today's current release (v.4.2.1), in order to get the database interaction with the Liferay service layer, you must update your source to SVN trunk. This is because this portlet example is in a new *.WAR format and it must use the new ext-service. There was a patch to the classloader that is currently in SVN trunk. Again, you can still create Liferay Portlet wars in JSF with version 4.2, but the database portion of the tutorial requires SVN trunk as of the date of this post.

Enjoy!
thumbnail
Alaaeldin El-Nattar, modificado 17 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 15 Data de Entrada: 09/03/07 Postagens Recentes
Any idea if the downloadable 4.2.1 source bundle includes the new ext-service used by JSF .WAR portlets yet?

Thanks.
thumbnail
Ashish Renapurkar, modificado 11 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 23 Data de Entrada: 18/01/12 Postagens Recentes
James Min:
The tutorial is up!

Please take a look at: http://www.liferay.com/web/guest/documentation/4_2/development#presentations

It is under the "JSF Portlet" section near the bottom.

***Please note that as of today's current release (v.4.2.1), in order to get the database interaction with the Liferay service layer, you must update your source to SVN trunk. This is because this portlet example is in a new *.WAR format and it must use the new ext-service. There was a patch to the classloader that is currently in SVN trunk. Again, you can still create Liferay Portlet wars in JSF with version 4.2, but the database portion of the tutorial requires SVN trunk as of the date of this post.

Enjoy!



Hello All,

I'm trying to see the url. But it is not working.

Kindly update.

Regards and Thanks

Ashish Renapurkar
thumbnail
Neil Griffin, modificado 11 Anos atrás.

RE: JSF Portlet tutorial

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
The link for the tutorial doesn't exist anymore. There is a community member that created a PrimeFaces Portlet Tutorial wiki entry though. It's a little out-of-date, but if you follow the warning in the NOTE section at the top you should be OK. We hope to come up with some tutorials authored by the Liferay Faces team in the coming weeks/months.
thumbnail
youssef dahar, modificado 10 Anos atrás.

RE: JSF Portlet tutorial

New Member Postagens: 6 Data de Entrada: 17/02/14 Postagens Recentes
i ma also want tuto jsf portlet emoticon
thumbnail
Neil Griffin, modificado 10 Anos atrás.

RE: JSF Portlet tutorial

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
The PrimeFaces Portlet Tutorial has been recently updated for usage with Liferay Portal 6.2, and the new Developer Guide has a new Developing JSF Portlets section.