I have an apex:inputText in wich I want the value to change when an Id is null or not null. I wrote that :
<apex:inputText value="{!IF(droitId!=null,droit.Oeuvre__r.Name,nomOeuvre)}"></apex:inputText>
(nomOeuvre is a variable I declared in my controller)
I tried with double quotes or simple quotes on the attributes, but I always get an error like "syntax error : value ')' missing ' or 'syntax error : value ' missing'
I was pretty sure that my syntax was right, and when I search for it, I found the same syntax than the one I use... If you have any idea about that kind of error, thank you for your answer :)