Revision 1956
Added by Matt Jones almost 21 years ago
resultset.xsl | ||
---|---|---|
116 | 116 |
<input type="hidden" name="abstractpath" /> |
117 | 117 |
<!-- specified down IN javascript:submitform2('read','zip',docid) --> |
118 | 118 |
|
119 |
<input type="hidden" name="qformat" /> |
|
119 |
<input type="hidden" name="qformat" /> |
|
120 |
<xsl:if test="$enableediting = 'true'"> |
|
121 |
<input type="hidden" name="enableediting" value="{$enableediting}"/> |
|
122 |
</xsl:if> |
|
120 | 123 |
<input type="hidden" name="action" value="read"/> |
121 | 124 |
<input type="hidden" name="docid"> |
122 | 125 |
<xsl:attribute name="value"> |
Also available in: Unified diff
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.