<apex:component access="global" controller="TransferApplyDetailController">
|
<apex:attribute name="targetId" assignTo="{!taId}" description="" type="Id" required="false" />
|
<apex:attribute name="targetType" assignTo="{!varType}" description="" type="String" required="false" />
|
<apex:attribute name="targetGatherName" assignTo="{!gatherName}" description="" type="String" required="false" />
|
<html>
|
<head>{!init}</head>
|
<body>
|
<table border="1" cellspacing="0" width="80%" >
|
<tr class="headerRow">
|
<apex:repeat value="{!title}" var="t">
|
<th>{!t}</th>
|
</apex:repeat>
|
</tr>
|
<apex:repeat value="{!tadList}" var="tad">
|
<tr>
|
<apex:repeat value="{!column}" var="c">
|
<td>
|
<apex:outputPanel layout="none" rendered="{!IF(c=='Main_OneToOne__c'|| c=='Loaner_accsessary__c',false , true)}">
|
<apex:outputField value="{!tad[c]}"/>
|
</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!IF(c=='Main_OneToOne__c'|| c=='Loaner_accsessary__c',true , false)}">
|
<apex:outputPanel layout="none" rendered="{!IF(tad[c],false , true)}">
|
<img src="{!$Label.Environment_Url}/img/checkbox_unchecked.gif" width="21" height="16" class="checkImg" title="未选取的"/>
|
</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!IF(tad[c],true , false)}">
|
<img src="{!$Label.Environment_Url}/img/checkbox_checked.gif" width="21" height="16" class="checkImg" title="选取的"/>
|
</apex:outputPanel>
|
</apex:outputPanel>
|
</td>
|
</apex:repeat>
|
</tr>
|
</apex:repeat>
|
</table>
|
</body>
|
</html>
|
</apex:component>
|