• abhijeet bhol
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
And my code for Oppertunity is this...what is my mistak and same as when i write for solution it also shows mw some error?


apex:page standardController="Opportunity">
  <apex:form >
<apex:pageBlock title="Opportunity Edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="save" />
<apex:commandButton action="{!cancel}" value="cancel"/>
<apex:commandButton action="{!save&new}" value="save&new"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Opportunity Information" columns="2">
        
        <apex:inputField value="{!Opportunity.Private}"/>
        <apex:inputField value="{!Opportunity.name}"/>
        <apex:inputField value="{!Opportunity.Type}"/>
        <apex:inputField value="{!Opportunity.LeadSource}"/>
        <apex:inputField value="{!Opportunity.Amount}"/>
        <apex:inputField value="{!Opportunity.CloseDate}"/>
        <apex:inputField value="{!Opportunity.NextStep}"/>
        <apex:inputField value="{!Opportunity.Stage}"/>
        <apex:inputField value="{!Opportunity.Probability(%)}"/>
       </apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
And my code for Oppertunity is this...what is my mistak and same as when i write for solution it also shows mw some error?


apex:page standardController="Opportunity">
  <apex:form >
<apex:pageBlock title="Opportunity Edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="save" />
<apex:commandButton action="{!cancel}" value="cancel"/>
<apex:commandButton action="{!save&new}" value="save&new"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Opportunity Information" columns="2">
        
        <apex:inputField value="{!Opportunity.Private}"/>
        <apex:inputField value="{!Opportunity.name}"/>
        <apex:inputField value="{!Opportunity.Type}"/>
        <apex:inputField value="{!Opportunity.LeadSource}"/>
        <apex:inputField value="{!Opportunity.Amount}"/>
        <apex:inputField value="{!Opportunity.CloseDate}"/>
        <apex:inputField value="{!Opportunity.NextStep}"/>
        <apex:inputField value="{!Opportunity.Stage}"/>
        <apex:inputField value="{!Opportunity.Probability(%)}"/>
       </apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
And my code for Oppertunity is this...what is my mistak and same as when i write for solution it also shows mw some error?


apex:page standardController="Opportunity">
  <apex:form >
<apex:pageBlock title="Opportunity Edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="save" />
<apex:commandButton action="{!cancel}" value="cancel"/>
<apex:commandButton action="{!save&new}" value="save&new"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Opportunity Information" columns="2">
        
        <apex:inputField value="{!Opportunity.Private}"/>
        <apex:inputField value="{!Opportunity.name}"/>
        <apex:inputField value="{!Opportunity.Type}"/>
        <apex:inputField value="{!Opportunity.LeadSource}"/>
        <apex:inputField value="{!Opportunity.Amount}"/>
        <apex:inputField value="{!Opportunity.CloseDate}"/>
        <apex:inputField value="{!Opportunity.NextStep}"/>
        <apex:inputField value="{!Opportunity.Stage}"/>
        <apex:inputField value="{!Opportunity.Probability(%)}"/>
       </apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>