You need to sign in to do that
Don't have an account?
monica seles
i am geting error at vf page
in visualforce [age i am not geeting the save button. please some one help me.
<apex:page standardController="student__c" > <apex:form> <apex:pageBlock title="{student__c.Name}"> <apex:commandButton value="SAVE" action="{!SssAVE}"/> <apex:pageBlocksection> <apex:inlineEditSupport> <apex:outputField value="{!student__c.Name__c}"/> <apex:outputField value="{!student__c.Date_of_Joining__c}"/> <apex:outputField value="{!student__c.Mobile__c}"/> <apex:outputField value="{!student__c.City__c}"/> </apex:inlineEditSupport> </apex:pageBlocksection> </apex:pageBlock> </apex:form> </apex:page>
<apex:commandButton value="SAVE" action="{!SssAVE}"/>\
instead of this place the below code
<apex:commandButton value="SAVE" action="{!save}"/>
You can not impelmeted SssAVE method, you need use standart method 'Save' from standart controller or write your extensions.
Try this code:
Thanks,
Alex
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks,
Alex
Since you are using an standard controller so it uses an standard functionality of salesforce. So for that purpose you have to change your action function name to {!save} which is functionality of salesforce.
If you were using extension than in that case you can use any method name in your controller and define its functinality in that particular method.
Thanks.