1 |
4235
|
leinfelder
|
<%@ page language="java" %>
|
2 |
|
|
<%
|
3 |
|
|
/**
|
4 |
|
|
*
|
5 |
|
|
* '$RCSfile$'
|
6 |
|
|
* Copyright: 2008 Regents of the University of California and the
|
7 |
|
|
* National Center for Ecological Analysis and Synthesis
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
|
|
*
|
12 |
|
|
* This program is free software; you can redistribute it and/or modify
|
13 |
|
|
* it under the terms of the GNU General Public License as published by
|
14 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
15 |
|
|
* (at your option) any later version.
|
16 |
|
|
*
|
17 |
|
|
* This program is distributed in the hope that it will be useful,
|
18 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
|
|
* GNU General Public License for more details.
|
21 |
|
|
|
22 |
|
|
* You should have received a copy of the GNU General Public License
|
23 |
|
|
* along with this program; if not, write to the Free Software
|
24 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
25 |
|
|
*/
|
26 |
|
|
%>
|
27 |
|
|
|
28 |
|
|
<%@ include file="../../common/common-settings.jsp"%>
|
29 |
|
|
<%@ include file="../../common/configure-check.jsp"%>
|
30 |
|
|
|
31 |
3510
|
leinfelder
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
32 |
|
|
<html>
|
33 |
|
|
<head>
|
34 |
|
|
<title>FIRST Assessment Metadata Repository</title>
|
35 |
|
|
<link rel="stylesheet" type="text/css"
|
36 |
4235
|
leinfelder
|
href="<%=STYLE_SKINS_URL%>/first/first.css">
|
37 |
3510
|
leinfelder
|
<script language="JavaScript" type="text/JavaScript"
|
38 |
4235
|
leinfelder
|
src="<%=STYLE_SKINS_URL%>/first/first.js"></script>
|
39 |
3510
|
leinfelder
|
<script language="JavaScript" type="text/JavaScript"
|
40 |
4290
|
leinfelder
|
src="<%=STYLE_SKINS_URL%>/first/search.js"></script>
|
41 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
42 |
4235
|
leinfelder
|
src="<%=STYLE_COMMON_URL%>/branding.js"></script>
|
43 |
4290
|
leinfelder
|
<script language="Javascript" type="text/JavaScript"
|
44 |
|
|
src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js">
|
45 |
|
|
</script>
|
46 |
3510
|
leinfelder
|
<script language="Javascript">
|
47 |
|
|
function trim(stringToTrim) {
|
48 |
|
|
return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
|
49 |
|
|
}
|
50 |
|
|
|
51 |
|
|
function checkSearch(submitFormObj) {
|
52 |
|
|
var searchString = trim(submitFormObj.searchstring.value);
|
53 |
3550
|
leinfelder
|
var searchAssessmentsCheckBox = document.getElementById("searchAssessments");
|
54 |
|
|
var searchQuestionsCheckBox = document.getElementById("searchQuestions");
|
55 |
3510
|
leinfelder
|
|
56 |
3550
|
leinfelder
|
//check the doctype checkboxes for at least one
|
57 |
|
|
if ( !(searchAssessmentsCheckBox.checked || searchQuestionsCheckBox.checked) ) {
|
58 |
|
|
alert("Please select at least one item type for your search");
|
59 |
|
|
searchAssessmentsCheckBox.focus();
|
60 |
|
|
return false;
|
61 |
|
|
}
|
62 |
|
|
|
63 |
3510
|
leinfelder
|
if (searchString=="") {
|
64 |
3550
|
leinfelder
|
if (confirm("No search terms were entered.\nContinue with a wildcardsearch?")) {
|
65 |
3510
|
leinfelder
|
searchString = "%";
|
66 |
|
|
}
|
67 |
|
|
else {
|
68 |
|
|
return false;
|
69 |
|
|
}
|
70 |
|
|
}
|
71 |
3550
|
leinfelder
|
|
72 |
4290
|
leinfelder
|
//generate the query
|
73 |
3550
|
leinfelder
|
var queryString =
|
74 |
4290
|
leinfelder
|
generateSearchString(
|
75 |
|
|
searchString,
|
76 |
|
|
searchAssessmentsCheckBox.checked,
|
77 |
|
|
searchQuestionsCheckBox.checked);
|
78 |
3550
|
leinfelder
|
|
79 |
|
|
//set the form value
|
80 |
|
|
submitFormObj.query.value = queryString;
|
81 |
4290
|
leinfelder
|
|
82 |
|
|
submitFormObj.qformat.value = "first";
|
83 |
|
|
|
84 |
3550
|
leinfelder
|
//alert(submitFormObj.query.value);
|
85 |
|
|
return true;
|
86 |
3510
|
leinfelder
|
}
|
87 |
|
|
|
88 |
3550
|
leinfelder
|
function browseAll(){
|
89 |
|
|
var submitFormObj = document.getElementById("searchForm");
|
90 |
|
|
var searchAssessmentsCheckBox = document.getElementById("searchAssessments");
|
91 |
|
|
var searchQuestionsCheckBox = document.getElementById("searchQuestions");
|
92 |
|
|
|
93 |
|
|
searchAssessmentsCheckBox.checked = true;
|
94 |
|
|
searchQuestionsCheckBox.checked = true;
|
95 |
|
|
|
96 |
|
|
if (checkSearch(submitFormObj)) {
|
97 |
|
|
submitFormObj.submit();
|
98 |
|
|
}
|
99 |
|
|
}
|
100 |
4290
|
leinfelder
|
|
101 |
|
|
function searchAssessments(){
|
102 |
|
|
var searchString = document.getElementById("searchBox").value;
|
103 |
|
|
var metacatURL = "<%=CONTEXT_URL%>/metacat";
|
104 |
|
|
|
105 |
|
|
//generate the query
|
106 |
|
|
var queryString =
|
107 |
|
|
generateSearchString(
|
108 |
|
|
searchString,
|
109 |
|
|
true,
|
110 |
|
|
false);
|
111 |
|
|
|
112 |
|
|
callAjax(metacatURL, queryString, "first-assessment");
|
113 |
|
|
}
|
114 |
3510
|
leinfelder
|
</script>
|
115 |
|
|
</head>
|
116 |
|
|
<body>
|
117 |
|
|
<script language="JavaScript">
|
118 |
4235
|
leinfelder
|
insertTemplateOpening("<%=CONTEXT_URL%>");
|
119 |
|
|
insertSearchBox("<%=CONTEXT_URL%>");
|
120 |
3510
|
leinfelder
|
</script>
|
121 |
|
|
|
122 |
|
|
<table width="760" border="0" cellspacing="0" cellpadding="0">
|
123 |
|
|
<!--DWLayoutTable-->
|
124 |
|
|
<tr>
|
125 |
|
|
<td>
|
126 |
|
|
<p class="intro">
|
127 |
|
|
Welcome to the FIRST Assessment Repository.
|
128 |
|
|
The repository contains detailed information on assessment tools used
|
129 |
|
|
[primarily] in biological and ecological science courses.
|
130 |
|
|
Records herein adhere to a standard educational metadata specification
|
131 |
|
|
and enable educators to explore effective teaching models and techniques.
|
132 |
|
|
</p>
|
133 |
|
|
<p class="intro">
|
134 |
|
|
The aim is to associate outcome measures (i.e. student test scores) with the particular concepts
|
135 |
|
|
on which the student is being tested and also associate the specific instructional techniques employed
|
136 |
|
|
when presenting that material to the student.
|
137 |
|
|
</p>
|
138 |
|
|
|
139 |
|
|
<p class="intro">
|
140 |
|
|
The repository relies primarily on data collected from and submitted by
|
141 |
|
|
professors and instructors. While this system is still in active development,
|
142 |
|
|
a quick search should reveal the depth, flexibility, and utility of the model.
|
143 |
|
|
And, of course, feedback is strongly encouraged and greatly appreciated.
|
144 |
|
|
</p>
|
145 |
|
|
<p class="intro">
|
146 |
|
|
Information about the FIRST Project and it's activities is currently available through the
|
147 |
|
|
<a href="http://www.first2.org/">FIRST II</a> site.
|
148 |
|
|
|
149 |
|
|
<p class="intro">
|
150 |
|
|
If you have any questions, comments or problems,
|
151 |
|
|
please contact the repository developer and administrator at
|
152 |
|
|
<a href="mailto:leinfelder@nceas.ucsb.edu">leinfelder@nceas.ucsb.edu</a>
|
153 |
|
|
</p>
|
154 |
|
|
|
155 |
|
|
<br />
|
156 |
|
|
<table class="tables" cellpadding="8" cellspacing="0">
|
157 |
|
|
<tr class="sectheader">
|
158 |
|
|
<td class="borderbottom" align="left">
|
159 |
3550
|
leinfelder
|
<p align="center">Search Assessments and Questions</p>
|
160 |
3510
|
leinfelder
|
</td>
|
161 |
|
|
</tr>
|
162 |
|
|
<tr class="sectbody"></tr>
|
163 |
|
|
|
164 |
|
|
<tr>
|
165 |
|
|
<td colspan="2" align="left">
|
166 |
4235
|
leinfelder
|
<form method="POST" action="<%=SERVLET_URL%>" target="_top"
|
167 |
3550
|
leinfelder
|
onSubmit="return checkSearch(this)" id="searchForm">
|
168 |
3510
|
leinfelder
|
<span class="searchresultsdividerPale">
|
169 |
|
|
<input value="UNION" name="operator" type="hidden">
|
170 |
|
|
<input size="14" name="searchstring" type="text" value="" id="searchBox">
|
171 |
|
|
<input name="query" type="hidden">
|
172 |
|
|
<input name="qformat" value="first" type="hidden">
|
173 |
|
|
<input name="enableediting" value="false" type="hidden">
|
174 |
|
|
<input type="hidden" name="action" value="squery">
|
175 |
|
|
<input value="Search" type="submit">
|
176 |
4290
|
leinfelder
|
<a href="javascript:searchAssessments()">
|
177 |
|
|
Dynamic Search
|
178 |
|
|
</a>
|
179 |
3510
|
leinfelder
|
</span>
|
180 |
|
|
</form>
|
181 |
|
|
<form>
|
182 |
3550
|
leinfelder
|
<input name="search" type="checkbox" id="searchAssessments" checked="checked">
|
183 |
|
|
<label for="searchAssessments">Include Assessments</label>
|
184 |
3510
|
leinfelder
|
<br/>
|
185 |
3550
|
leinfelder
|
<input name="search" type="checkbox" id="searchQuestions">
|
186 |
|
|
<label for="searchQuestions">Include Questions</label>
|
187 |
3510
|
leinfelder
|
<br />
|
188 |
|
|
</form>
|
189 |
|
|
<div align="center">
|
190 |
3550
|
leinfelder
|
<p align="left">This tool allows you to search for Assessments and Questions.
|
191 |
|
|
By default, the search will be conducted over all Assessment fields.
|
192 |
|
|
These include (but are not limited to):
|
193 |
3510
|
leinfelder
|
course and assessment titles and descriptions, instructor name, and keyword fields.
|
194 |
3550
|
leinfelder
|
Expanding the search to include Questions will include additional results for question matches
|
195 |
|
|
(much like a question bank).
|
196 |
3510
|
leinfelder
|
<br />
|
197 |
|
|
<br />
|
198 |
|
|
You can use the '%' character as a wildcard in your searches (e.g.,
|
199 |
|
|
'%biology%' would locate any phrase with the word biology embedded within it).
|
200 |
|
|
</p>
|
201 |
|
|
</div>
|
202 |
|
|
</td>
|
203 |
|
|
</tr>
|
204 |
|
|
<tr>
|
205 |
|
|
<td class="borderbottom">
|
206 |
|
|
<div align="center">
|
207 |
3550
|
leinfelder
|
<a href="javascript:browseAll()">
|
208 |
|
|
Browse All FIRST items
|
209 |
3510
|
leinfelder
|
</a>
|
210 |
|
|
<br />
|
211 |
|
|
</div>
|
212 |
|
|
</td>
|
213 |
|
|
</tr>
|
214 |
|
|
</table>
|
215 |
4290
|
leinfelder
|
<div id="ajaxResults">Loading Search results...</div>
|
216 |
3510
|
leinfelder
|
<br />
|
217 |
|
|
<br />
|
218 |
|
|
|
219 |
|
|
<p class="intro">
|
220 |
|
|
This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National Center for Ecological
|
221 |
|
|
Analysis and Synthesis (NCEAS)</a> and is based on software developed by
|
222 |
|
|
the <a href="http://knb.ecoinformatics.org">Knowledge Network for
|
223 |
|
|
Biocomplexity (KNB)</a>, and houses metadata that are compliant with
|
224 |
|
|
[the currently-under-development] Educational Metadata Language (EdML [name subject to change]).</p>
|
225 |
|
|
|
226 |
|
|
</td>
|
227 |
|
|
</tr>
|
228 |
|
|
</table>
|
229 |
|
|
|
230 |
|
|
<script language="JavaScript">
|
231 |
4235
|
leinfelder
|
insertTemplateClosing("<%=CONTEXT_URL%>");
|
232 |
3510
|
leinfelder
|
</script>
|
233 |
|
|
</body>
|
234 |
|
|
</html>
|