New answers tagged

0

You need to not initialize the local variables (or at least, not twice): tvCase__c serviceCaseToCheck; // = new tvCase__c(); List<tvCase__c> serviceCaseList; // = new List<tvCase__c>(); Results of a query are never null. if(/*serviceCaseList!=null && */ !serviceCaseList.isEmpty()) { serviceCaseToCheck = serviceCaseList[0]; // (...


2

you can't rerender element with the specific id, if it has rendered attribute. Add one more outer apex:outputPanel and rerender it <apex:outputPanel id="advancedSettings"> <apex:pageBlockSection title="{!$Label.advanced_settings}" columns="1" rendered="{!AND(Not(IsBlank(My_Object__c.Some_Field__c)))}"> <apex:inputField value="{!...


Top 50 recent answers are included