« Development に戻る

Sample Portlets

Liferay and its community provide sample portlets showcasing how to integrate a variety of frameworks, libraries and other technologies into Liferay Portal. This page lists the most popular:

Hibernate #

Samples demonstrating Hibernate for relational persistence:

Spring #

Samples demonstrating using Spring:

Service Builder #

Samples demonstrating using Service Builder:

DAO #

Samples demonstrating Data Access Objects.

JSP #

Samples demonstrating JavaServer Pages a simplified, fast way to create dynamic web content.

JSF Technologies #

Samples demonstrating Java Server Faces technology, a server-side user interface component framework for Java technology-based web applications built upon JSP.

There are many more JSF samples in the plugins downloads page.

Scripting portlets #

Samples demonstrating how to develop portlets using ruby and PHP can be download from

There are also sample portlets for Groovy, Javascript and python. A description about how to develop portlets with scripting languages can be found in Scripting languages to develop portlets.

Hooks #

Sample Expando Hook

Other Samples #

See the complete file listing at the plugins downloads page.

0 添付ファイル
128456 参照数
平均 (4 投票)
平均評価は1.75星中の5です。
コメント
コメント 作成者 日時
Hello, Where can I find the Spring sample... Charlycha Cha 2009/07/15 9:49
Try this:... Markus Nordhaus 2009/09/09 12:00
Any AJAX sample portlet? Andrew Koltsov 2010/01/24 10:49
Hello Everybody! I'm a student come from... ly tm 2011/02/08 18:15
All of these link are broken. Was they moved... Andrea Chiodi 2012/08/09 2:25
Why are none of the example portlets available?... Aaron Weikle 2012/08/13 12:13
All of these link are still broken... Fix it... Chort Tanner 2012/10/24 8:52
Broken links, still... Denis Kipchakbaev 2013/09/03 2:42
ANy DAO portlet sample? Akash Jaisawal 2015/05/28 3:25

Hello,
Where can I find the Spring sample portlet sources (the WEB-INF/lib/petportal.jar contains only class files)

Thanks
投稿日時:09/07/15 9:49
Try this:
http://opensource.atlassian.com/confluence/spring/display/JSR168/Home

Markus­
Charlycha Chaへのコメント。投稿日時:09/09/09 12:00
投稿日時:10/01/24 10:49
Hello Everybody!
I'm a student come from VietNam!
I'm studying about Richface framework!
I had got a problem in JSF(Richface) Portlet when I used JavaScript!
That problem is : I could not get a value into a <h:inputText /> with JavaScript!
Can anybody help me?
Thank you very much!
This is my code:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
function check() {
var result = document.getElementById("myform:form").value;
alert(result);
}
</script>
</head>
<body>
<f:view>
<h:form id="myform">
<h3>Hello :</h3>
<h:inputText value="" id="form" />
<h:commandButton value="OK" onclick="check();"/>
</h:form>
</f:view>
</body>
</html>
Andrew Koltsovへのコメント。投稿日時:11/02/08 18:15
All of these link are broken. Was they moved somewhere else?
投稿日時:12/08/09 2:25
Why are none of the example portlets available? Did someone update them and not update the link?
投稿日時:12/08/13 12:13
All of these link are still broken... Fix it please
投稿日時:12/10/24 8:52
投稿日時:13/09/03 2:42
投稿日時:15/05/28 3:25