I want make a page read only. This is the code I've tried:
<apex:page showheader="false" sidebar="false" id="page" extensions="test"
standardcontroller="test__c" readOnly="true">
<apex:form >
<apex:pageBlock id="pbCustomerDetails">
<apex:pageBlockSection columns="1" collapsible="false">
<apex:inputField value="{!test.Legal_Name_in_English__c}" label="Name of Customer"/>
<apex:inputCheckbox value="{!test.Legal_Name_Checkbox__c}" label="legal name" />
<apex:inputField value="{!test.Legal_Name_in_Local_Language__c}" rendered="{!(test.Legal_Name_Checkbox__c == true)}" />
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
The readonly="true"
property of <apex:page>
is not making the entire page read only, can somebody explain why?