<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- @(#)viewDiscussion.jsp --%>

<%@page errorPage="error.jsp" %>

<%@ taglib uri="/tld/jx.tld" prefix="jx" %> 
<%@ taglib uri="/tld/search.tld" prefix="search" %>

<%-- get display profile property values --%>
<%@ include file= "portal.jsp" %>

<% if (request.getParameter("did") != null) { %>

    <% String query="rd-reference-id <contains> \""+request.getParameter("did")+"\"";%>
    <jx:set var="viewOrder" value="+last-modified"/>
    <jx:set var="hitNumber" value="500"/>
    <jx:set var="query" >
	<%=query%>
    </jx:set>

    <search:searchContext>
	<%@ include file= "query.jsp" %>
	<jsp:include page="viewDiscussionDisplay.jsp" flush="true"/>
    </search:searchContext>
<% } %>
