Assign the variable in your apex class and use that variable using below like visualforce page.
Ex1:
<apex:outputPanel id="ref3" style="{!IF((masterLookupType == 'Contacts List'), '', 'display:none')}" >
<apex:inputField value="{!t.Parentid}"></apex:inputField>
</apex:outputPanel>
Ex2:
<div style="{!IF((enableUATTab),'','display:none')}" >
TheBlogReaders.com
</div>
Ex1:
<apex:outputPanel id="ref3" style="{!IF((masterLookupType == 'Contacts List'), '', 'display:none')}" >
<apex:inputField value="{!t.Parentid}"></apex:inputField>
</apex:outputPanel>
Ex2:
<div style="{!IF((enableUATTab),'','display:none')}" >
TheBlogReaders.com
</div>
0 comments:
Post a Comment