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:
commit
4f2e303079
1839 changed files with 235630 additions and 0 deletions
36
webapp/web/templates/entity/entity_inject_head.jsp
Normal file
36
webapp/web/templates/entity/entity_inject_head.jsp
Normal file
|
@ -0,0 +1,36 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||
|
||||
<% /***********************************************
|
||||
This file is used to inject <link> and <script> elements
|
||||
into the head element of the generated source of a VITRO
|
||||
page that is being displayed by the entity controller.
|
||||
|
||||
In other words, anything like domain.com/entity?...
|
||||
will have the lines specified here added in the <head>
|
||||
of the page.
|
||||
|
||||
This is a great way to specify JavaScript or CSS files
|
||||
at the entity display level as opposed to globally.
|
||||
|
||||
Example:
|
||||
<link rel="stylesheet" type="text/css" href="/css/entity.css"/>" media="screen"/>
|
||||
<script type="text/javascript" src="/js/jquery.js"></script>
|
||||
****************************************************/ %>
|
||||
|
||||
<c:url var="jquery" value="/js/jquery.js"/>
|
||||
<c:url var="getURLParam" value="/js/jquery_plugins/getURLParam.js"/>
|
||||
<c:url var="colorAnimations" value="/js/jquery_plugins/colorAnimations.js"/>
|
||||
<c:url var="propertyGroupSwitcher" value="/js/propertyGroupSwitcher.js"/>
|
||||
<c:url var="vitroControls" value="/js/controls.js"/>
|
||||
<c:url var="jqueryForm" value="/js/jquery_plugins/jquery.form.js"/>
|
||||
<c:url var="tinyMCE" value="/js/tiny_mce/tiny_mce.js"/>
|
||||
|
||||
<script type="text/javascript" src="${jquery}"></script>
|
||||
<script type="text/javascript" src="${getURLParam}"></script>
|
||||
<script type="text/javascript" src="${colorAnimations}"></script>
|
||||
<script type="text/javascript" src="${propertyGroupSwitcher}"></script>
|
||||
<script type="text/javascript" src="${jqueryForm}"></script>
|
||||
<script type="text/javascript" src="${tinyMCE}"></script>
|
||||
<script type="text/javascript" src="${vitroControls}"></script>
|
Loading…
Add table
Add a link
Reference in a new issue