worked the kinks out of the conference reports
This commit is contained in:
parent
59b53e44e3
commit
10f84e2086
|
@ -66,7 +66,7 @@ try
|
||||||
// save off the attributes
|
// save off the attributes
|
||||||
rinput.setRequestAttribute("conference.activity.list",my_list);
|
rinput.setRequestAttribute("conference.activity.list",my_list);
|
||||||
rinput.setRequestAttribute("conference.activity.nullmessage",nullmsg);
|
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.title",title1);
|
||||||
rinput.setRequestAttribute("conference.activity.subtitle",title2);
|
rinput.setRequestAttribute("conference.activity.subtitle",title2);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ try
|
||||||
// save off the attributes
|
// save off the attributes
|
||||||
rinput.setRequestAttribute("conference.activity.list",my_list);
|
rinput.setRequestAttribute("conference.activity.list",my_list);
|
||||||
rinput.setRequestAttribute("conference.activity.nullmessage",nullmsg);
|
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.title",title1);
|
||||||
rinput.setRequestAttribute("conference.activity.subtitle",title2);
|
rinput.setRequestAttribute("conference.activity.subtitle",title2);
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,18 @@ import java.io.IOException;
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.jsp.*;
|
import javax.servlet.jsp.*;
|
||||||
import javax.servlet.jsp.tagext.*;
|
import javax.servlet.jsp.tagext.*;
|
||||||
|
import org.apache.log4j.*;
|
||||||
import com.silverwrist.venice.ui.*;
|
import com.silverwrist.venice.ui.*;
|
||||||
|
|
||||||
public class FrameContentHereTag extends VeniceTagSupport
|
public class FrameContentHereTag extends VeniceTagSupport
|
||||||
{
|
{
|
||||||
|
/*--------------------------------------------------------------------------------
|
||||||
|
* Overrides from class TagSupport
|
||||||
|
*--------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
private static Category logger = Category.getInstance(FrameContentHereTag.class);
|
||||||
|
|
||||||
/*--------------------------------------------------------------------------------
|
/*--------------------------------------------------------------------------------
|
||||||
* Overrides from class TagSupport
|
* Overrides from class TagSupport
|
||||||
*--------------------------------------------------------------------------------
|
*--------------------------------------------------------------------------------
|
||||||
|
@ -41,11 +49,13 @@ public class FrameContentHereTag extends VeniceTagSupport
|
||||||
} // end try
|
} // end try
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{ // convert the I/O error into something the servlet engine can deal with
|
{ // 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());
|
throw new JspTagException("IO error writing frame content - " + e.getMessage());
|
||||||
|
|
||||||
} // end catch
|
} // end catch
|
||||||
catch (ServletException se)
|
catch (ServletException se)
|
||||||
{ // convert the servlet exception into something we can deal with, too
|
{ // 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());
|
throw new JspException("Servlet error writing frame content - " + se.getMessage());
|
||||||
|
|
||||||
} // end catch
|
} // end catch
|
||||||
|
|
|
@ -22,12 +22,11 @@
|
||||||
<%@ taglib uri="/tlds/util" prefix="util" %>
|
<%@ taglib uri="/tlds/util" prefix="util" %>
|
||||||
<%@ taglib uri="/tlds/community" prefix="comm" %>
|
<%@ taglib uri="/tlds/community" prefix="comm" %>
|
||||||
<%@ taglib uri="/tlds/conference" prefix="conf" %>
|
<%@ taglib uri="/tlds/conference" prefix="conf" %>
|
||||||
<%@ taglib uri="/tlds/topic" prefix="conf" %>
|
|
||||||
<%
|
<%
|
||||||
JSPView view = JSPView.get(request);
|
JSPView view = JSPView.get(request);
|
||||||
final List data = (List)(view.getRequestAttribute("conference.activity.list"));
|
final List data = (List)(view.getRequestAttribute("conference.activity.list"));
|
||||||
final boolean poster_report =
|
final boolean poster_report =
|
||||||
((Boolean)(view.getRequestAttribute("conference.activity.posters"))).booleanValue();
|
Boolean.valueOf(view.getRequestAttribute("conference.activity.posters").toString()).booleanValue();
|
||||||
%>
|
%>
|
||||||
<util:header>
|
<util:header>
|
||||||
<util:title><%= view.getRequestAttribute("conference.activity.title").toString() %></util:title>
|
<util:title><%= view.getRequestAttribute("conference.activity.title").toString() %></util:title>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user