Tutorial Portlets

These portlets are linked from our JBoss Portal documentation and provide a template for developers when starting out in portlet development. For further explanation of these examples, please read our Reference Guide, here.


 

HelloWorld Portlet
 
License LGPL
Compatibility JSR168. Preconfigured for JBoss Portal 2.2+, 2.4+
Description This file is the simplest of portlets, that prints Hello World inside a window.
Download Zip | SVN

 

HelloWorld JSP Portlet
 
License LGPL
Compatibility JSR168. Preconfigured for JBoss Portal 2.2+, 2.4+
Description This portlet dispatches to a requested mode depending on the user's selection, and introduces the reader to sections of the portlet taglib.
Download Zip | SVN

 

HelloWorld JSF Portlet
 
License LGPL
Description This portlet uses JSF as a rendering technology. Different flavors are available the MyFaces version is configured for JBoss AS including the MyFaces libraries (default for JBoss AS 4.0.x). The Sun RI version is configured for JBoss AS including the Sun RI JSF libraries (default for JBoss AS 4.2.x and JBoss EAP 4.2.x)
Download For JBoss Portal 2.6 and JBoss AS 4.2.x (configured for Sun RI)
For JBoss Portal 2.6 and JBoss AS 4.2.x (configured for MyFaces)
For JBoss Portal 2.6 and JBoss AS 4.0.5 (configured for MyFaces)
For JBoss Portal 2.4 (configured for MyFaces)

 

HelloWorld Portal Page
 
License LGPL
Description This example includes a simple portlet and a descriptor that will create a new page, MyPage in JBoss Portal.
Download For JBoss Portal 2.6
For JBoss Portal 2.4
 

 

HelloWorld Portal
 
License LGPL
Compatibility Preconfigured for JBoss Portal 2.4+
Description The included descriptor will create two pages under a new portal instance.
Download Zip | SVN
 

 

HelloWorld IPC Portlets
 
License LGPL
Compatibility Preconfigured for JBoss Portal 2.4+
Description InterPortlet Communication portlet set. The included descriptor will create a page named IPC under the default portal instance.
Download Zip | SVN
         
Portlet Swap Logo