+ Start a Discussion

Is a patch released today???? Rendered attribute is no longer working

Is a patch released today , our salesforce pages experience problems, which used to working fine, here is the code to test
<apex:page controller="TestPage_Controller" showheader="true" sidebar="false" action="{!Init}" >
<apex:form >
    <apex:outputpanel rendered="{! Not RenderIt}" >    

 Controller :

public class TestPage_Controller {
    public String TheId = null;    
    public TestPage_Controller() {
    public void Init()
     TheId = 'abc';
     System.Debug('----------' + Theid);
    public boolean getRenderIt()
     if(TheId == null)
      throw new MyCustomizedException('The Id is null');
     return true;

it looks this line of code not execute correctly

<apex:outputpanel rendered="{! RenderIt}" id="abc">

the variables in the getRenderIt method change to null for somehow


Message Edited by Feng on 11-06-2008 09:27 PM
I had similar problems using rendered on a pageBlockSectionItem - I was generating a pdf so I just thought it had something to do with that.

For some reason I could use rendered="{!value != 'text'}"  but I couldn't use rendered="{!value == 'text'}".  I had to put the rendered attribute on each of my tags within the pageBlockSectionItem.  Are these two problems related?