You need to sign in to do that
Don't have an account?
neil_edwards_fcca1.389781386123482E12
Rerender on save after InlineEdit not working
The Pagemessages should rerender when the inLineEdit is saved on the <apex:detail> tag . It isnt. When its manually refreshed all Pagemessages render correctly. Any ideas??
Thanks in advance
Thanks in advance
<apex:page standardcontroller="Fees__c" tabstyle="Fees__c" showheader="true" standardstylesheets="true" extensions="FeeSaveAndReturnController"> <chatter:feedwithfollowers entityID="{!Fees__c.id}" /> <apex:stylesheet value="/sCSS/21.0/sprites/1297816277000/Theme3/default/gc/versioning.css" /> <apex:pageblock > <apex:pageblocksection columns="1" title="Messages & Warnings" > <apex:pagemessages rendered="true" id="msg2" /> <apex:outputPanel id="warnings" layout="block"> <apex:PageMessage summary="The Deal is an approval process and cannot be edited until this has completed." severity="error" strength="2" rendered="{!Fees__c.Deal_Protocol_Ref__r.In_Approval__c}" /> <apex:PageMessage summary="The required {!Fees__c.Variables__c} x Variable(s) below have not been entered. This term cannot be approved." severity="error" strength="2" rendered="{!Fees__c.Incomplete__c}" /> <apex:PageMessage summary="This term has been APPROVED. " severity="confirm" strength="1" rendered="{!Fees__c.Term_Sheet_Approved__c && Fees__c.Deleted__c =false}" /> <apex:PageMessage summary="This term has been marked as Deleted. To 'undelete' this term use the Clone button. " severity="error" strength="3" rendered="{!Fees__c.Deleted__c}" /> <apex:PageMessage summary="{!Fees__c.Key_Considerations__c}" severity="info" strength="3" rendered="{!Fees__c.Key_Considerations__c !=null}" /> </apex:outputPanel> <apex:form > <apex:commandButton value="Delete this Term" onclick="return confirm('You have chosen to delete this item. \nPlease confirm this is what you want to do.');" action="{!DeleteTerm}" /> <apex:commandButton value="Make Changes" onclick="return confirm('You have chosen to unlock this approved term. Once unlocked it will need re-approving. \nPlease confirm this is what you want to do.');" action="{!unlock}" rendered="{!Fees__c.Term_Sheet_Approved__c}"/> <apex:outputText value="{!Fees__c.deal_protocol_ref__r.id}" rendered="false" /> </apex:form> </apex:pageblocksection> </apex:pageblock> <apex:detail relatedList="false" title="true" inlineedit="true" id="mydetail" rerender="warnings"/> </apex:page>
Can you put it inside and then try the same,it should work then.
If this helps,please mark it as best answer to help others :)