Revision 377
Added by Matt Jones over 24 years ago
lib/queform.html | ||
---|---|---|
24 | 24 |
<tr><td width="40%" valign="top"> |
25 | 25 |
<form action="@servlet-path@" target="right" method="POST"> |
26 | 26 |
<input type="hidden" name="action" value="query"> |
27 |
<input type="text" name="query" value="NCEAS%" size="15">
|
|
27 |
<input type="text" name="anyfield" value="%" size="15">
|
|
28 | 28 |
<input type="submit" value="Run query"><br /> |
29 | 29 |
Format: |
30 | 30 |
<input type="radio" name="qformat" value="xml">XML |
lib/contents.html | ||
---|---|---|
24 | 24 |
<tr><td width="40%" valign="top"> |
25 | 25 |
<form action="@servlet-path@" target="right" method="POST"> |
26 | 26 |
<input type="hidden" name="action" value="query"> |
27 |
<input type="text" name="query" value="NCEAS%" size="15">
|
|
27 |
<input type="text" name="anyfield" value="%" size="15">
|
|
28 | 28 |
<input type="submit" value="Run query"><br /> |
29 | 29 |
Format: |
30 | 30 |
<input type="radio" name="qformat" value="xml">XML |
src/loadstylesheets.sql | ||
---|---|---|
1 | 1 |
INSERT INTO xml_catalog (entry_type, source_doctype, target_doctype, |
2 | 2 |
public_id, system_id) |
3 |
VALUES ('XSL', '-//NCEAS//resultset//EN', '-//W3C//HTML//EN', |
|
4 |
'-//NCEAS//resultset.xsl', |
|
5 |
'http://dev.nceas.ucsb.edu/metadata/style/resultset.xsl'); |
|
6 |
INSERT INTO xml_catalog (entry_type, source_doctype, target_doctype, |
|
7 |
public_id, system_id) |
|
3 | 8 |
VALUES ('XSL', '-//NCEAS//eml-dataset//EN', '-//W3C//HTML//EN', |
4 | 9 |
'-//NCEAS//eml-dataset-display.xsl', |
5 | 10 |
'http://dev.nceas.ucsb.edu/metadata/style/eml-dataset-display.xsl'); |
Also available in: Unified diff
Updated default html forms for metacat queries to use the "anyfield"
keyword for constructing a default query. This should now work with
the new handleQuery method of MetaCatServlet.
BugID:
Submitted by:
Reviewed by: