| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| #if($TabName == $ResourceBundle.getString('ForcedMetadata.ForcedMetadata') && $SeqNum == $SelectedNum) |
| |
| <table class="displaytable"> |
| <tr> |
| <td class="separator" colspan="4"><hr/></td> |
| </tr> |
| <tr> |
| <td class="description" colspan="1"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.ForcedMetadataColon'))</nobr></td> |
| <td class="boxcell" colspan="3"> |
| <table class="formtable"> |
| <tr class="formheaderrow"> |
| <td class="formcolumnheader"></td> |
| <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.ParameterName'))</nobr></td> |
| <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.ParameterValue'))</nobr></td> |
| </tr> |
| #set($paramcounter = 0) |
| #foreach($paramrecord in $Parameters) |
| #if(($paramcounter % 2) == 0) |
| <tr class="evenformrow"> |
| #else |
| <tr class="oddformrow"> |
| #end |
| <td class="formcolumncell"> |
| <a name="s${SeqNum}_forcedmetadata_${paramcounter}_tag"/> |
| <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('ForcedMetadata.Delete'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('ForcedMetadata.Deleteforcedmetadatanumber'))${paramcounter}" onclick='javascript:s${SeqNum}_DeleteForcedMetadata(${paramcounter});'/> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_${paramcounter}_op" value="Continue"/> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_${paramcounter}_name" value="$Encoder.attributeEscape($paramrecord.get('parameter'))"/> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_${paramcounter}_value" value="$Encoder.attributeEscape($paramrecord.get('value'))"/> |
| </td> |
| <td class="formcolumncell"> |
| <nobr>$Encoder.bodyEscape($paramrecord.get('parameter'))</nobr> |
| </td> |
| <td class="formcolumncell"> |
| <nobr>$Encoder.bodyEscape($paramrecord.get('value'))</nobr> |
| </td> |
| </tr> |
| #set($paramcounter = $paramcounter + 1) |
| #end |
| #if($paramcounter == 0) |
| <tr class="formrow"><td colspan="3" class="formcolumnmessage"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.NoForcedMetadataSpecified'))</nobr></td></tr> |
| #end |
| <tr class="formrow"><td colspan="3" class="formseparator"><hr/></td></tr> |
| <tr class="formrow"> |
| <td class="formcolumncell"> |
| <a name="s${SeqNum}_forcedmetadata_tag"/> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_op" value="Continue"/> |
| <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('ForcedMetadata.Add'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('ForcedMetadata.Addforcedmetadata'))" onclick="javascript:s${SeqNum}_AddForcedMetadata();"/> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_count" value="${paramcounter}"/> |
| </td> |
| <td class="formcolumncell"> |
| <input type="text" name="s${SeqNum}_forcedmetadata_name" size="30" value=""/> |
| </td> |
| <td class="formcolumncell"> |
| <input type="text" name="s${SeqNum}_forcedmetadata_value" size="30" value=""/> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| |
| #else |
| |
| #set($paramcounter = 0) |
| #foreach($paramrecord in $Parameters) |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_${paramcounter}_name" value="$Encoder.attributeEscape($paramrecord.get('parameter'))" /> |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_${paramcounter}_value" value="$Encoder.attributeEscape($paramrecord.get('value'))" /> |
| #set($paramcounter = $paramcounter + 1) |
| #end |
| <input type="hidden" name="s${SeqNum}_forcedmetadata_count" value="${paramcounter}"/> |
| |
| #end |