You need to sign in to do that
Don't have an account?
miku
I rerender the <apex:pageBlockButtons>the top button is rerendered but the bottom is not
The code is like this When the claim.Checked_GP_Date__c have value I will rerender the Id btnApprove.but only the button on the top of block is actived.the bottom one is still grey.
<apex:commandButton id="btnApprove" value="Approve" disabled="{!ISNULL(claim.Checked_GP_Date__c)}" action="{!saveApprovedClaim}" status="splashStatus" reRender="procedurePanel,errorPanel,pageBlk" onclick="setSubmit()"/>
any sugesstions?
Thanks
I rerender the whole page instead the element.and the bug is fixed.Thanks for all the replies
All Answers
What have you given in PageBlockButton's location attribute. If you have given yop then please change it to "both" , or jus do not provide any thiing bydefault it is "both".
If it does not work for you please provide complete code.
Have you written any JavaScript to disable the button?
Thanks
Ankit Arora
Blog | Facebook | Blog Page
I rerender the whole page instead the element.and the bug is fixed.Thanks for all the replies
Thanks, man! Superb solution!