Last active
May 7, 2016 23:16
-
-
Save cdcarter/754de148b769ab0420022d5bd9fdfb04 to your computer and use it in GitHub Desktop.
Visualforce Debug Pane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- the devconsole parameter is automatically set when a page is in refresh/preview mode from Developer Console | |
which allows us to only display our custom viewstate debug pane when we're in Developer Mode! --> | |
<apex:pageBlockSection id="debug" title="Debugging" rendered="{!$CurrentPage.parameters.core.apexpages.request.devconsole == '1'}"> | |
<apex:pageBlockTable value="{!clients}" var="client"> | |
<apex:column value="{!client.Name}"/> | |
<apex:column value="{!client.Enrollment_Status__c}"/> | |
<apex:column value="{!client.Referral_Agency__c}"/> | |
<apex:column > | |
<apex:facet name="header">Saved</apex:facet> | |
<apex:outputPanel rendered="{!NOT(ISBLANK(client.Id))}" layout="block"><input disabled="true" type="checkbox" checked="true"/></apex:outputPanel> | |
<apex:outputPanel rendered="{!ISBLANK(client.Id)}" layout="block"><input disabled="true" type="checkbox" /></apex:outputPanel> | |
</apex:column> | |
</apex:pageBlockTable> | |
</apex:pageBlockSection> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment