taylor 2005/02/17 11:49:52
Modified: portals-bridges/common/src/java/org/apache/portals/bridges/common
GenericServletPortlet.java
Log:
don't force page defs in init parms
Revision Changes Path
1.7 +11 -11
jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/bridges/common/GenericServletPortlet.java
Index: GenericServletPortlet.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/bridges/common/GenericServletPortlet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- GenericServletPortlet.java 8 Feb 2005 18:17:40 -0000 1.6
+++ GenericServletPortlet.java 17 Feb 2005 19:49:52 -0000 1.7
@@ -166,16 +166,16 @@
this.allowPreferences = new
Boolean(allowPreferencesString).booleanValue();
}
- if ((this.defaultActionPage == null) &&
- (this.defaultCustomPage == null) &&
- (this.defaultEditPage == null) &&
- (this.defaultViewPage == null) &&
- (this.defaultHelpPage == null) &&
- (this.allowPreferences == false) )
- {
- // This portlet is configured to do nothing!
- throw new PortletException("Portlet " + config.getPortletName()
+ " is incorrectly configured. No pages are defined.");
- }
+// if ((this.defaultActionPage == null) &&
+// (this.defaultCustomPage == null) &&
+// (this.defaultEditPage == null) &&
+// (this.defaultViewPage == null) &&
+// (this.defaultHelpPage == null) &&
+// (this.allowPreferences == false) )
+// {
+// // This portlet is configured to do nothing!
+// throw new PortletException("Portlet " +
config.getPortletName() + " is incorrectly configured. No pages are defined.");
+// }
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]