Project

General

Profile

« Previous | Next » 

Revision 1956

Enabled stylesheet parameters to be passed through metacat even when the
'query' function is called. Previously, query would interpret all
parameters except a few hardcoded ones to be pathexpressions that should be
built into a squery. Now, metacat.properties contains a new configuration
parameter called "query.ignored.params" which is a comma separated list of
paramters that should be passed through DBQuery.createSQuery without being
interpreted as a path expression. This allows these additional paramters to
be used in stylesheets and other places (html files) to customize the L&F
of particular skins.

The feature was implemented in order to allow the 'enableediting' parameter
for resultset.xsl to be passed through metacat without altering the query.
This parameter, when set to true, causes an 'edit' and 'delete' button to be
included for each record in the resultset. These buttons call the registry
edit and delete functions for the OBFS and (later) NRS and other registries.

View differences:

searchform.html
5 5
  <input name="organizationName" value="Organization of Biological Field Stations" type="hidden">
6 6
  <input name="action" value="query" type="hidden">
7 7
  <input name="qformat" value="obfs" type="hidden">
8
  <input name="enableediting" value="true" type="hidden">
8 9
  <input name="operator" value="UNION" type="hidden">
9 10
  <input name="returnfield" value="originator/individualName/surName" type="hidden">
10 11
  <input name="returnfield" value="originator/individualName/givenName" type="hidden">

Also available in: Unified diff