| <apex:component controller="BatchFileUploadController">  | 
|     <apex:attribute name="parentId" description="The ID of the record uploaded documents will be attached to." type="String" required="true"/> | 
|      | 
|     <link rel="stylesheet" type="text/css" href="{!$Resource.FileUploadCSS}"/> | 
|     <!-- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"/> --> | 
|     <script type="text/javascript" src="{!$Resource.FileUploadJS}"/> | 
|     <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" /> | 
|     <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> | 
|      | 
|     <script type="text/javascript"> | 
|         var staticResource = JSON.parse('{!staticResource}'); | 
|         var newUrl = '{!newUrl}'; | 
|         var parentId = '{!parentId}'; | 
|     </script> | 
|      | 
|     <div class="uploadBox"> | 
|         <table cellpadding="0" cellspacing="0" class="uploadTable"> | 
|             <tr> | 
|                 <td style="padding-right:5px;">附件上传</td><!-- 20221128 ljh update end --> | 
|                 <!-- 20221128 ljh update end --> | 
|                 <!-- <td><input type="file" multiple="true" id="filesInput" name="file" /></td> --> | 
|                 <td><input type="file" multiple="true" id="filesInput" name="file" accept=".pdf"/></td> | 
|                 <!-- 20221128 ljh update end --> | 
|                 <td class="buttonTD"> | 
|                     <!-- 20221128 ljh update end --> | 
|                     <!-- <input id="uploadButton" type="button" title="Upload" class="btn" value="Upload"/> --> | 
|                     <input id="uploadButton" type="button" title="Upload" class="btn" value="上传"/> | 
|                     <!-- 20221128 ljh update end --> | 
|                     <!-- <input id="clear" type="button" title="Clear" class="btn" value=" Clear "/> --> | 
|                 </td> | 
|                 <!-- zhj 2022-12-17 start --> | 
|                 <td class="buttonTD"> | 
|                     <input id="removeFile" type="button" title="removeFile" class="btn" value="删除"/> | 
|                 </td> | 
|                 <!-- zhj 2022-12-17 end --> | 
|             </tr> | 
|         </table> | 
|     </div> | 
| </apex:component> |