I can't get my VF working quite right. Here is the structure of the row of my table. the values were hard coded in the past, but now i want to change it to values of fields. The problem that I'm having is that when I do <apex:outputText value={!opp.field__c}/>
I'm getting the field label. Is there a way to avoid this? I'd prefer not to change my controller.
<tr style="border:1px solid black">
<td style="border:1px solid black">External Origin<br />(attributes of the environment)</td>
<td style="border:1px solid black" valign="top">
<b>Opportunities</b>
<div id="ctl03_divOpportunityHTML">
<ul>
<li style='list-style:disc; margin-left:2px'><a href='#4' style='text-decoration:none'>blah</a></li>
<li style='list-style:disc; margin-left:2px'><a href='#5' style='text-decoration:none'>blah</a></li>
<li style='list-style:disc; margin-left:2px'><a href='#6' style='text-decoration:none'>blah</a></li>
</ul>
</div>
</td>
<td style="border:1px solid black" valign="top">
<b>Threats</b>
<div id="ctl03_divThreatsHTML">
<ul>
<li style='list-style:disc; margin-left:2px'><a href='#7' style='text-decoration:none'>blah</a></li>
<li style='list-style:disc; margin-left:2px'><a href='#8' style='text-decoration:none'>blah</a></li>
<li style='list-style:disc; margin-left:2px'><a href='#9' style='text-decoration:none'>blah</a></li>
</ul>
</div>
</td>
</tr>
{!merge field}
in sight. You want pieces of CSS to come from some string variables? or say a textarea to appear in the table as unescaped (= dangerous) HTML? Or are you looking for stuff like{!$ObjectType.Opportunity.LabelPlural}
so if "Opportunities" is translated it'll be just picked up?<apex:outputText value="{!yourField__c}" escape="false" />
? Or outputPanel?apex:pageBlockSection
(maybe aapex:pageBlock
too)