Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleDeprecated

This particular feedback portlet implementation has been deprecated and retired to a source control branch. See instead the Unconference Feedback Portlet which has taken on the trunk for feedback portlet development and will likely be the feedback portlet platform of the future.

Purpose

This portlet provides an easily extensible system for user submitted feedback forms.

Design

  1. Display a form with typical feedback fields (name, phone, email, comments, etc).
  2. Upon submission, email the data to a specified address (or system)

Source Code

The source code for the Feedback Portlet is now available in the JA-SIG Subversion Repository.

Info

Subversion: https://www.ja-sig.org/svn/portlets/FeedbackPortlet/branches/UW_FeedbackPortlet_1-0-0/
Fisheye: http://developer.ja-sig.org/source/browse/jasigsvn/portlets/FeedbackPortlet/branches/UW_FeedbackPortlet_1-0-0/

Implementation

Required Libraries:

...

Controller: classname - edu.wisc.my.portlets.feedback.web.FeedbackFormController.
Extends org.springframework.web.portlet.mvc.SimpleFormController.
There are two fields that need to be set, an IFeedbackFormatter implementation and an org.springframework.mail.MailSender (a JavaMailSender is listed in the spring configuration).

Configuration

Within web/WEB-INF/applicationContext.xml, there are two beans, a JavaMailSenderImpl and an IFeedbackMessageFormatter.
For the mailSender, supply any properties you need for your SMTP smart host. This may be localhost, or a remote server. See http://www.springframework.org/docs/api/org/springframework/mail/javamail/JavaMailSenderImpl.html for the list of availble options.
For the IFeedbackMessageFormatter, choose your desired implementation, and supply fields (those listed are the recipient and from addresses).

Installation

  1. checkout the package from the jasig SVN repository
  2. 'ant dist' will create the war file in the dist folder.
    Deploy the war file to your portlet container, and you are set.

Issue Tracking

Info

http://www.ja-sig.org/issues/browse/FBP