« Torna a 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 Allegati
128463 Visualizzazioni
Media (4 Voti)
La media del punteggio è 1.75 stelle su 5.
Commenti
Commenti Autore Data
Hello, Where can I find the Spring sample... Charlycha Cha 15 luglio 2009 9.49
Try this:... Markus Nordhaus 9 settembre 2009 12.00
Any AJAX sample portlet? Andrew Koltsov 24 gennaio 2010 10.49
Hello Everybody! I'm a student come from... ly tm 8 febbraio 2011 18.15
All of these link are broken. Was they moved... Andrea Chiodi 9 agosto 2012 2.25
Why are none of the example portlets available?... Aaron Weikle 13 agosto 2012 12.13
All of these link are still broken... Fix it... Chort Tanner 24 ottobre 2012 8.52
Broken links, still... Denis Kipchakbaev 3 settembre 2013 2.42
ANy DAO portlet sample? Akash Jaisawal 28 maggio 2015 3.25

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

Thanks
Inviato il 15/07/09 9.49.
Try this:
http://opensource.atlassian.com/confluence/spring/display/JSR168/Home

Markus­
Inviato il 09/09/09 12.00 in risposta a Charlycha Cha.
Any AJAX sample portlet?
Inviato il 24/01/10 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>
Inviato il 08/02/11 18.15 in risposta a Andrew Koltsov.
All of these link are broken. Was they moved somewhere else?
Inviato il 09/08/12 2.25.
Why are none of the example portlets available? Did someone update them and not update the link?
Inviato il 13/08/12 12.13.
All of these link are still broken... Fix it please
Inviato il 24/10/12 8.52.
Broken links, still...
Inviato il 03/09/13 2.42.
ANy DAO portlet sample?
Inviato il 28/05/15 3.25.