You need to sign in to do that
Don't have an account?
TheCustomCloud
How come Rendered != null doesnt seem to work with date fields?
I am displaying two dates (a from and to date) like this, 8/8/2011 to 8/10/2011. If no to date is entered then I do not want to display the " to " text.
I am using a simple outputText like below but it does not work:
<apex:outputText value=" to " rendered="{!Account.To__c != null}"/>
I used the same code but with a text field and had no problems:
<apex:outputText value=", {!Account.Name}" rendered="{!Account.Name != null}"/>
Any ideas?
I tried this in multiple ways and here are the solutions without any typo :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Use it like this
It will work for you for date also.
I tried this in multiple ways and here are the solutions without any typo :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page