You need to sign in to do that
Don't have an account?

Rerender is not working
Hi,
I am trying to use rendered and reRender together but it's not working. Here is the code,
<apex:outputPanel id="studId">
<apex:outputPanel rendered="{!bIsStud}">
<td class="column">
<apex:outputtext value="{!Proj.strValue}" styleClass="column" />
</td>
</apex:outputPanel>
</apex:outputPanel>
<apex:selectList value="{!selectedNumber}" multiselect="false" size="1" >
<apex:actionSupport event="onchange" status="ajaxstaus1" action="{!InitAllProject}" rerender="studId" />
<apex:selectOptions value="{!lstNumberToPagination}"></apex:selectOptions>
</apex:selectList>
I have also used single outputpanel containing id and rendered property but still not able to resolve issue.
Can anybody help me to get through this?
Thanks,
Pratty
Hi Pratty,
Try this post from Bob Buzzard Blog ,
http://bobbuzzard.blogspot.in/2011/02/visualforce-re-rendering-woes.html
Regards,
Bharathi
Salesforce For All
Mark this post as solved, if it helps you
rendered attribute from a class variable is buggy at times. I do not recall the criteria but I have had mixed luck with using boolean values alone.
Change the rendered to this:
rendered="{!if(tblsStud == true,true,false)}"
If you want to see what the value is ad this line right below the first outPutPanel
{!tblsStud}
That will display the value of the variable and let you know if it is as you expect
Hello Bharathi Mohan and Starz26,
Thanks for help but I have got it's solution, I have used one outputpanel with rendered and updated whole table with table Id.
Regards,
Pratty