Currently i am using MailingCountry(Standard Contact field under mailing address) on my VF page in customer portal but it is rendering as input field instead of picklist, as i have enabled State and Country Picklist feature in my org. What's the reason for that? In native salesforce environment it is working correctly but in customer portal it's not working.
<apex:pageBlockSectionItem rendered="{!LOWER(f.fieldPath) == 'mailingcountry'}">
<apex:outputLabel value="Country" />
<apex:inputField label="Country" styleClass="country"
style="width:150px;" value="{!student.mailingCountry}"
required="{!OR(f.required,f.dbrequired)}" />
</apex:pageBlockSectionItem>
This is the code for VF page
<apex:page standardController="Contact">
<apex:form>
<apex:inputField value="{!contact.MailingCountry}"/>
</apex:form>
</apex:page>
It is also not showing up in simple VF page in salesforce Envronment.