Revision 4636
Added by ben leinfelder almost 16 years ago
lib/style/skins/first/search.js | ||
---|---|---|
352 | 352 |
|
353 | 353 |
//assessment fields |
354 | 354 |
+"<returnfield>assessment/duration</returnfield>" |
355 |
+"<returnfield>assessment/@title</returnfield>"
|
|
355 |
+"<returnfield>assessment/title</returnfield>" |
|
356 | 356 |
+"<returnfield>assessment/@id</returnfield>" |
357 | 357 |
+"<returnfield>lom/general/title/string</returnfield>" |
358 | 358 |
+"<returnfield>lom/general/keyword/string</returnfield>" |
... | ... | |
417 | 417 |
|
418 | 418 |
+"<returndoctype>edml://ecoinformatics.org/edml</returndoctype>" |
419 | 419 |
|
420 |
+"<returnfield>assessment/@title</returnfield>"
|
|
420 |
+"<returnfield>assessment/title</returnfield>" |
|
421 | 421 |
+"<returnfield>assessment/@id</returnfield>" |
422 | 422 |
+"<returnfield>assessment/duration</returnfield>" |
423 | 423 |
+"<returnfield>lom/general/title/string</returnfield>" |
... | ... | |
456 | 456 |
|
457 | 457 |
+"<returndoctype>edml://ecoinformatics.org/edml</returndoctype>" |
458 | 458 |
|
459 |
+"<returnfield>assessment/@title</returnfield>"
|
|
459 |
+"<returnfield>assessment/title</returnfield>" |
|
460 | 460 |
+"<returnfield>assessment/@id</returnfield>" |
461 | 461 |
+"<returnfield>assessment/duration</returnfield>" |
462 | 462 |
+"<returnfield>lom/general/title/string</returnfield>" |
lib/style/skins/first/cart.jsp | ||
---|---|---|
144 | 144 |
</tr> |
145 | 145 |
<tr> |
146 | 146 |
<td> |
147 |
<input type="checkbox" name="title" value="//assessment/@title" />
|
|
147 |
<input type="checkbox" name="title" value="//assessment/title" /> |
|
148 | 148 |
Title |
149 | 149 |
<br/> |
150 |
<input type="checkbox" name="type" value="//assessment/@type"/>
|
|
150 |
<input type="checkbox" name="type" value="//assessment/type"/> |
|
151 | 151 |
Type |
152 | 152 |
<br/> |
153 | 153 |
<input type="checkbox" name="duration" value="//assessment/duration"/> |
lib/style/skins/first/first-resultset.xsl | ||
---|---|---|
174 | 174 |
<a> |
175 | 175 |
<xsl:attribute name="href">javascript:submitform('read',document.<xsl:value-of select="translate(./docid, '()-.', '____')" />)</xsl:attribute> |
176 | 176 |
<xsl:text>» </xsl:text> |
177 |
<xsl:value-of select="./param[@name='assessment/@title']"/>
|
|
177 |
<xsl:value-of select="./param[@name='assessment/title']"/> |
|
178 | 178 |
</a> |
179 | 179 |
<br /> |
180 | 180 |
<br /> |
lib/style/skins/first/index.jsp | ||
---|---|---|
145 | 145 |
<tr> |
146 | 146 |
<td> |
147 | 147 |
<select id="otherField" name="otherValue"> |
148 |
<option value="assessment/@title">Assessment Title</option>
|
|
149 |
<option value="assessment/@type">Assessment Type</option>
|
|
148 |
<option value="assessment/title">Assessment Title</option> |
|
149 |
<option value="assessment/type">Assessment Type</option> |
|
150 | 150 |
<option value="assessment/duration">Assessment Duration</option> |
151 | 151 |
<option value="course/term">Course Term</option> |
152 | 152 |
</select> |
lib/style/skins/first/assessmentQuery.jsp | ||
---|---|---|
17 | 17 |
//the "columns" to extract from the metadata document (will be param soon) |
18 | 18 |
Map attributeMap = new OrderedMap(); |
19 | 19 |
attributeMap.put("id", "//@packageId"); |
20 |
attributeMap.put("title", "//assessment/@title");
|
|
20 |
attributeMap.put("title", "//assessment/title"); |
|
21 | 21 |
attributeMap.put("duration", "//assessment/duration"); |
22 | 22 |
attributeMap.put("badColumn", "//does/not/exist"); |
23 | 23 |
attributeMap.put("item", "//assessmentItems/assessmentItem/assessmentItemId"); |
lib/style/skins/first/first-assessment-resultset.xsl | ||
---|---|---|
369 | 369 |
<a> |
370 | 370 |
<xsl:attribute name="href">javascript:submitform('read','<xsl:value-of select="./docid" />',document.readForm)</xsl:attribute> |
371 | 371 |
<xsl:text>» </xsl:text> |
372 |
<xsl:value-of select="./param[@name='assessment/@title']" />
|
|
372 |
<xsl:value-of select="./param[@name='assessment/title']" /> |
|
373 | 373 |
</a> |
374 | 374 |
(<xsl:value-of select="./docid" />) |
375 | 375 |
|
Also available in: Unified diff
assessment title and type are now elements rather than attributes in edml
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3345