+ Start a Discussion

Calendar is not rendering...

Hello All,


I am using date field in VF page like below


   <apex:inputfield id="dt" value="{!User.Expires_On__c}" rendered="{!RenderAffiliation}" style="dateFormat"  />      


In above statement I am rendering this field based on certion condition bt because of the


render attribute calendar is not populating  bt if I remove the render attribute it works fine.


I am not able to find what mistake I am making ... 


Please guide me If any one have solution...


Thanks ,






This is a known bug that calender does not display in some cases when Ajax rendering/re-rendering happens on a page.


The workaround for this is, you can create another input field of type date, dont give the render attribute and just keep it hidden on the page. Then the calender would appear.