String resourceUrl = util.getParameter("resourceurl");
String resourceTitle = util.getParameter("resourcetitle");
String siteUrl = util.getParameter("siteurl");
String siteTitle = util.getParameter("sitetitle");
setHistory(new CreateUrlRequest(Page.WIDGET_COMMENT, "resource"));
return new CommentWidget(resourceUrl, resourceUrl, resourceTitle, siteUrl, siteTitle);
}
else if ("readstream".equals(widgetName))
{
String request = util.getParameter("request");
setHistory(new CreateUrlRequest(Page.WIDGET_READ_STREAM, "request"));