You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Ken Ramirez <kr...@TheJavaThinkTank.org> on 2004/12/22 23:31:42 UTC
A New Portlet was added to the Gems project
The first edition of the ImageViewer Portlet was added to the Gems
project this week. This portlet allows the user to store images in a
folder named "images" on the server. At runtime, the end-user can
specify an image name, and the image is retrieved using an |<img>| tag
within the JSP page of the view.
The portlet also provides an "Edit" mode that allows the end-user to
select a different color for the background. Although, this portlet
provides a very simple implementation, it provides many of the JSR-168
features and shows how they can be used in a realistic and functional
portlet.
The portlet can currently be built using Ant to provide a JSR-168
compliant portlet.
Furthermore, the folder and file structure follow the recommended
project structure. Thus, this portlet provides a good template for
building other portlets in the future.
Later next week, a maven.xml file will be provided to allow user of this
portlet to build the portlet using Maven. Once a good amount of portlets
are added to the project, binary editions may become available.
Currently, the portlet downloads with a pluto-web.xml file, which is
changable via the build.properties. Later, more web.xml files will
become available for using this portlet on other platforms. If you would
like to download the code and provide a suitable web.xml file for your
platform, I'd be more than happy to add your contribution to the project.
The project can be viewed and downloaded from http://gems.dev.java.net
Thanks,
--
*----*----*----*----*----*----*----*----*----*----*----*----
Stay on top of all things to do with JSR-168 Portlet and
Portal development by bookmarking the authority on the
subject: http://community.java.net/portlet
*
* News
* Weblogs
* Community Tips
* Portlet and Portal Projects
* Featured Articles
* And much more
*
*----*----*----*----*----*----*----*----*----*----*----*----
Ken Ramirez
Send mail to: mailto://kramirez@TheJavaThinkTank.org
Check out the website: http://www.TheJavaThinkTank.org
Check out my Blog at: http://weblogs.java.net/blog/ken_ramirez
*----*----*----*----*----*----*----*----*----*----*----*----