• Elif Dicle - DevelopHer
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I want to rerender the currentstatus outputpanel when the reopened action has completed. The case is being reopened so the action succeeds but the outputpanel is not being refreshed. Any idea why?

 

Thanks in advance.

 

 

 

 

 <apex:outputPanel styleclass="caseStatus">
      <apex:outputPanel id="currentStatus" >     
         <p class="case details">{!case.Status}</p>     
      </apex:outputPanel>
      
     
    
      <apex:form >
         <apex:commandButton action="{!ReOpenCase}" value="Reopen Case" oncomplete="alert('case reopened')" id="ReopenCaseButton" rerender="currentStatus" rendered="{!IF((case.status == 'Resolved' || case.Status == 'Closed')&&case.closeddate+30>now(),true,false)}" />
         <apex:commandButton value="Close Case"  id="CloseCaseBTN" onclick="openCloseReason()" rendered="{!IF(case.Status != 'Resolved' && case.Status != 'Closed',true,false)}"/>
      </apex:form>


.....

 

   </apex:outputPanel>