disable the save button at top and bottom simultenously,could any one plz reply on this,I am unable to directely post the code,once u reply i will paste on that
our requirement is on creating the visualforce page,By clicking on save button,it will show like disable the button and override button as saving...for top and bottom of button(same how save button will works at standard page.) <apex:pageBlockButtons >
@sandeep My problem is not for visible of button,it does not make any diffrence if we mention location=both,It will feaults take both. My requirement is when click on save button at the top,Then button becomes to disable and override with "saving..." name.The same will happen simultenously on local button also..
You can share the code so we can help you with it.
Thanks,
Pratik
<apex:pageBlockButtons >
<apex:actionStatus id="Standard">
<apex:facet name="stop">
<apex:commandButton value="Save" action="{!save}" status="Standard" reRender="abc"/>
</apex:facet>
<apex:facet name="start">
<apex:commandButton value="Saving..." status="Standard" disabled="true"/>
</apex:facet>
</apex:actionStatus>
</apex:pageBlockButtons>
You can keep your command butoon in pageblock buttons and then you can set the attribute as LOcation="Both"..it will be visible on top and bottom...
Thanks
Sandeep
You can refer this below code
<apex:pageBlockButtons location="both">
<apex:commandButton value="Ok" action="{!closePopup}"/>
</apex:pageBlockButtons>
My problem is not for visible of button,it does not make any diffrence if we mention location=both,It will feaults take both.
My requirement is when click on save button at the top,Then button becomes to disable and override with "saving..." name.The same will happen simultenously on local button also..