+ Start a Discussion
Burton024Burton024 

How does one determine the current app?

The requirement is to conditionally render controls based on the currently selected app. The code looks like this:

...

<apex:pageBlockSection columns="1">
<apex:pageBlockTable value="{!AllSearchProducts}" var="i">
<apex:column headerValue="Name"><apex:outputLink value="/{!i.Id}"> {!i.Name}</apex:outputLink></apex:column>
<apex:column headerValue="Brand Name" value="{!i.Brand_Name__c}"/>
<apex:column headerValue="Source="{!i.Source__c}" rendered="!IF(what should go here?)"/>
 </apex:pageBlockTable>
</apex:pageBlockSection>

...

 

The third column needs to be conditionally rendered if a particular app is selected but not rendered if a different app is currently selected. How can the current app be determined at runtime?

Burton024Burton024

Thanks for the pointer but this was a dead end.