留言板

JSF Portlet tutorial

Sudhakar Ramasamy,修改在17 年前。

JSF Portlet tutorial

New Member 帖子: 8 加入日期: 06-8-20 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Regular Member 帖子: 124 加入日期: 06-11-23 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 17 加入日期: 06-5-18 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 8 加入日期: 06-8-20 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Expert 帖子: 293 加入日期: 06-8-14 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Regular Member 帖子: 124 加入日期: 06-11-23 最近的帖子
Bring it soon.

Thank u
Sudhakar Ramasamy,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 8 加入日期: 06-8-20 最近的帖子
+1 for JSF portlet tutorial asap. Thanks.
thumbnail
James Min,修改在17 年前。

RE: JSF Portlet tutorial

Expert 帖子: 293 加入日期: 06-8-14 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Regular Member 帖子: 124 加入日期: 06-11-23 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 11 加入日期: 06-12-21 最近的帖子
That's good, please make sure all the tutorial can work with Tomahawk,

Thx very much.
thumbnail
satya jangala,修改在13 年前。

RE: JSF Portlet tutorial

New Member 帖子: 8 加入日期: 10-11-8 最近的帖子
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,修改在15 年前。

RE: JSF Portlet tutorial

Regular Member 帖子: 203 加入日期: 08-11-15 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Expert 帖子: 293 加入日期: 06-8-14 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Expert 帖子: 336 加入日期: 06-5-17 最近的帖子
hey kay,

I haven't tested all tomahawk components but many of them do work in portlet wars as do facelets.
Kay Kay,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 17 加入日期: 06-5-18 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Junior Member 帖子: 49 加入日期: 06-9-14 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Liferay Legend 帖子: 1197 加入日期: 05-2-8 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

Expert 帖子: 293 加入日期: 06-8-14 最近的帖子
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,修改在17 年前。

RE: JSF Portlet tutorial

New Member 帖子: 15 加入日期: 07-3-9 最近的帖子
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,修改在11 年前。

RE: JSF Portlet tutorial

New Member 帖子: 23 加入日期: 12-1-18 最近的帖子
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,修改在11 年前。

RE: JSF Portlet tutorial

Liferay Legend 帖子: 2655 加入日期: 05-7-27 最近的帖子
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,修改在10 年前。

RE: JSF Portlet tutorial

New Member 帖子: 6 加入日期: 14-2-17 最近的帖子
i ma also want tuto jsf portlet emoticon
thumbnail
Neil Griffin,修改在10 年前。

RE: JSF Portlet tutorial

Liferay Legend 帖子: 2655 加入日期: 05-7-27 最近的帖子
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.