You need to sign in to do that
Don't have an account?
Ems
Simple Syntax question!
I have a component that I want to render based on the opposite of a checkbox setting...
THis works fine:
<apex:pageblock rendered="{!pitem.Sold__c}">
But I can't figure out how to NOT (or !) pitem.Sold__c
This doesn't work (nor do many different combinations of quotes and !s that I've tried.
<apex:pageblock rendered=NOT(pitem.Description)>
Anybody have a solution to this simple problem???
the {!} signifies that you're using an expression that Visualforce needs to parse. Then either NOT() or ! is acceptable syntax.
All Answers
the {!} signifies that you're using an expression that Visualforce needs to parse. Then either NOT() or ! is acceptable syntax.