Base Portlet Classes
dsicore Nov 17, 2005 11:21 AMI'm just wondering... we seem to have to do this for every new portlet we write. Can't we pull some of this boiler plate code into a superclass? I'm referring to the adding of the new Poll portlet and its supporting classes. I know there's a lot of specific xml parsing code in each of these, but this seems like a pain in the ass to do every time.
BTW, I'm not saying that Rysiek is doing anything wrong here. We just might be able to make this easier in the future.
Begin forwarded message:
From: jboss-svn-commits@lists.sourceforge.net
Date: November 16, 2005 5:02:39 PM CST
To: jboss-svn-commits@lists.sourceforge.net
Subject: [Jboss-svn-commits] JBL Code SVN: r1582 - trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects
Reply-To: jboss-svn-commits@lists.sourceforge.net
Author: unibrew
Date: 2005-11-16 18:02:33 -0500 (Wed, 16 Nov 2005)
New Revision: 1582
Added:
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/Poll.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/PollDescriptor.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/PollTools.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/PollsDescriptor.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/PollsWatcher.java
Modified:
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/Counter.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/DownloadCounterTools.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/DownloadCountersDescriptor.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/DownloadCountersWatcher.java
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/ProjectsHelper.java
Log:
[JBLAB-407] Core files for PollPortlet task.
[JBLAB-263] Small comments update.