• Sunil Kumar 594
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi ,
 
I am trying to use action status with apex page Message .Also there is a rendered attribute with apex page message .Below is a VF sample..
<apex:page>
<apex:pageMessage id="ap" summary="A sample message" severity="INFO" strength="2" rendered="{!rendered}"  />
<apex:form >  
        <apex:commandButton value="save" status="cb"   action="{!save}" rerender="ap"/>
        <apex:actionStatus  id="cb" startText="saving..."/>
    <apex:form>
<apex:page>

My problem is that I am able to display both action status and apex page message together.

Please let me know if anyone know where and why above code is not working.

Thanks
Saurabh