From 10f84e20860c4692350f61479bf0596f35e4b850 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Mon, 7 Jan 2002 17:09:08 +0000 Subject: [PATCH] worked the kinks out of the conference reports --- scripts/conf/lurker_report.js | 2 +- scripts/conf/poster_report.js | 2 +- .../silverwrist/venice/ui/jsp/FrameContentHereTag.java | 10 ++++++++++ web/format/conf/activity_report.jsp | 3 +-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/conf/lurker_report.js b/scripts/conf/lurker_report.js index 7e7dcde..85dffc4 100644 --- a/scripts/conf/lurker_report.js +++ b/scripts/conf/lurker_report.js @@ -66,7 +66,7 @@ try // save off the attributes rinput.setRequestAttribute("conference.activity.list",my_list); rinput.setRequestAttribute("conference.activity.nullmessage",nullmsg); - rinput.setRequestAttribute("conference.activity.posters",Boolean.FALSE); + rinput.setRequestAttribute("conference.activity.posters","false"); rinput.setRequestAttribute("conference.activity.title",title1); rinput.setRequestAttribute("conference.activity.subtitle",title2); diff --git a/scripts/conf/poster_report.js b/scripts/conf/poster_report.js index 70752ce..2de0b81 100644 --- a/scripts/conf/poster_report.js +++ b/scripts/conf/poster_report.js @@ -66,7 +66,7 @@ try // save off the attributes rinput.setRequestAttribute("conference.activity.list",my_list); rinput.setRequestAttribute("conference.activity.nullmessage",nullmsg); - rinput.setRequestAttribute("conference.activity.posters",Boolean.TRUE); + rinput.setRequestAttribute("conference.activity.posters","true"); rinput.setRequestAttribute("conference.activity.title",title1); rinput.setRequestAttribute("conference.activity.subtitle",title2); diff --git a/src/com/silverwrist/venice/ui/jsp/FrameContentHereTag.java b/src/com/silverwrist/venice/ui/jsp/FrameContentHereTag.java index c050023..4a677e0 100644 --- a/src/com/silverwrist/venice/ui/jsp/FrameContentHereTag.java +++ b/src/com/silverwrist/venice/ui/jsp/FrameContentHereTag.java @@ -21,10 +21,18 @@ import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; +import org.apache.log4j.*; import com.silverwrist.venice.ui.*; public class FrameContentHereTag extends VeniceTagSupport { + /*-------------------------------------------------------------------------------- + * Overrides from class TagSupport + *-------------------------------------------------------------------------------- + */ + + private static Category logger = Category.getInstance(FrameContentHereTag.class); + /*-------------------------------------------------------------------------------- * Overrides from class TagSupport *-------------------------------------------------------------------------------- @@ -41,11 +49,13 @@ public class FrameContentHereTag extends VeniceTagSupport } // end try catch (IOException e) { // convert the I/O error into something the servlet engine can deal with + logger.error("IOException writing frame content",e); throw new JspTagException("IO error writing frame content - " + e.getMessage()); } // end catch catch (ServletException se) { // convert the servlet exception into something we can deal with, too + logger.error("ServletException writing frame content",se); throw new JspException("Servlet error writing frame content - " + se.getMessage()); } // end catch diff --git a/web/format/conf/activity_report.jsp b/web/format/conf/activity_report.jsp index 314da91..a10dd96 100644 --- a/web/format/conf/activity_report.jsp +++ b/web/format/conf/activity_report.jsp @@ -22,12 +22,11 @@ <%@ taglib uri="/tlds/util" prefix="util" %> <%@ taglib uri="/tlds/community" prefix="comm" %> <%@ taglib uri="/tlds/conference" prefix="conf" %> -<%@ taglib uri="/tlds/topic" prefix="conf" %> <% JSPView view = JSPView.get(request); final List data = (List)(view.getRequestAttribute("conference.activity.list")); final boolean poster_report = - ((Boolean)(view.getRequestAttribute("conference.activity.posters"))).booleanValue(); + Boolean.valueOf(view.getRequestAttribute("conference.activity.posters").toString()).booleanValue(); %> <%= view.getRequestAttribute("conference.activity.title").toString() %>