Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.

This commit is contained in:
jeb228 2010-01-29 22:13:57 +00:00
commit 4f2e303079
1839 changed files with 235630 additions and 0 deletions

View file

@ -0,0 +1,76 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<div id="content" class="staticPageBackground">
<div class="feedbackForm">
<h2>${siteName} Feedback and Comments Form</h2>
<p>
<c:choose>
<c:when test='${portalType eq "CALSResearch"}'>
Thank you for your interest in the Cornell University College of Agriculture and Life Sciences Research Portal.
</c:when>
<c:when test='${portalType eq "VIVO"}'>
Thank you for your interest in VIVO.
</c:when>
<c:otherwise>
Thank you for your interest in the ${siteName} portal.
</c:otherwise>
</c:choose>
<p>
<c:if test='${portalType != "clone"}'>
<p>If you are looking for information on:</p>
<ul>
<li>Undergraduate admissions: contact <a href="http://admissions.cornell.edu/">http://admissions.cornell.edu/</a></li>
<li>Undergraduate financial aid: contact <a href="http://finaid.cornell.edu/">http://finaid.cornell.edu/</a></li>
<li>Graduate admissions and information: contact <a href="http://www.gradschool.cornell.edu/">http://www.gradschool.cornell.edu/</a></li>
<li>International Students and Scholars Office: contact <a href="http://www.isso.cornell.edu/">http://www.isso.cornell.edu/</a></li>
<li>Faculty, staff and student directory: contact <a href="http://www.cornell.edu/search?tab=people">http://www.cornell.edu/search/?tab=people</a></li>
<li>General information about Cornell University: <a href="http://www.cornell.edu/">http://www.cornell.edu/</a></li>
</ul>
</c:if>
<p>
If you have a question regarding the content of this portal, please submit the form below.
<c:if test='${(siteName eq "CALSResearch" || siteName eq "CALSImpact")}'>
The reference librarians at Albert R. Mann Library will be in touch with you soon.
</c:if>
</p>
<hr/>
<form name = "contact_form" action="sendmail" method="post" onsubmit="return ValidateForm('contact_form');">
<input type="hidden" name="home" value="${portalId}"/>
<input type="hidden" name="RequiredFields" value="webuseremail,webusername,comments"/>
<input type="hidden" name="RequiredFieldsNames" value="Email address,Name,Comments"/>
<input type="hidden" name="EmailFields" value="webuseremail"/>
<input type="hidden" name="EmailFieldsNames" value="emailaddress"/>
<input type="hidden" name="DeliveryType" value="comment"/>
<p class="normal">My email address is (e.g., userid<b>@institution.edu</b>):</p>
<input style="width:25%;" type="text" name="webuseremail" maxlength="255"/><br/><br/>
<p class="normal">My full name is:</p>
<input style="width:33%;" type="text" name="webusername" maxlength="255"/><br/><br/>
<p class="normal"><i>${siteName} is a service that depends on regular updates and feedback.
Please help us out by providing any necessary corrections and suggestions for additional content (people, departments, courses, research services, etc.)
that you would like to see represented.</i></p>
<h3>Enter your comments, questions, or suggestions in the box below.</h3>
<textarea name="s34gfd88p9x1" rows="10" cols="90"></textarea>
<div>
<input type="submit" value="Send Mail" class="yellowbutton"/>
<input type="reset" value="Clear Form" class="plainbutton"/>
</div
<p style="font-weight: bold; margin-top: 1em">Thank you!</p>
</form>
</div><!--feedbackForm-->
</div><!--content, staticPageBackground-->