-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
5Questions
-
3Replies
standard controller extension
hey everyone, m new to apex.i dont knw why but m getting this error: Incompatible types since an instance of SObject is never an instance of opportunity. plz help....
here is a bit of my code:
public with sharing class opportunityExtensions {
public opportunity opp;
public opportunityExtensions(ApexPages.StandardController controller) {
this.opp=(Opportunity)controller.getRecord();
}
-
- mds
- September 15, 2011
- Like
- 0
- Continue reading or reply
-
- mds
- September 02, 2011
- Like
- 0
- Continue reading or reply
opportunity tab
hey guyz
i want to add some custom fields to opportunity. The fields are of piclkist type n they get their value at run time through web servicecall...... how can i add such firelds to opportunity... any suggestions...plz help
-
- mds
- September 01, 2011
- Like
- 0
- Continue reading or reply
basic ques: not getting the output for <apex:detail>
hey guyz... i dont knw y m facing this problem. when i first executed this code then i did see all the related list of opprtunity... but now ... when i execute it wat i see is just the block m creating in this code.... y it is happening ..
plz help!!!!!...
i knw it involves a silly mistake ....
<apex:page standardController="opportunity">
<apex:form >
<apex:pageBlock title="BLOCK"><apex:pageblockButtons ><apex:commandButton action="{!save}" value="save"/></apex:pageblockButtons><apex:pageBlockSection title="SECTION"><apex:inputField value="{!opportunity.name}"/>
<apex:inputField value="{!opportunity.type}"/>
</apex:pageBlockSection> </apex:pageBlock>
<apex:detail />
</apex:form>
</apex:page>
-
- mds
- August 31, 2011
- Like
- 0
- Continue reading or reply
without app exchange
is there any way of sharing our application without using appexchange
-
- mds
- August 30, 2011
- Like
- 0
- Continue reading or reply
opportunity tab
hey guyz
i want to add some custom fields to opportunity. The fields are of piclkist type n they get their value at run time through web servicecall...... how can i add such firelds to opportunity... any suggestions...plz help
- mds
- September 01, 2011
- Like
- 0
- Continue reading or reply
basic ques: not getting the output for <apex:detail>
hey guyz... i dont knw y m facing this problem. when i first executed this code then i did see all the related list of opprtunity... but now ... when i execute it wat i see is just the block m creating in this code.... y it is happening ..
plz help!!!!!...
i knw it involves a silly mistake ....
<apex:page standardController="opportunity">
<apex:form >
<apex:pageBlock title="BLOCK"><apex:pageblockButtons ><apex:commandButton action="{!save}" value="save"/></apex:pageblockButtons><apex:pageBlockSection title="SECTION"><apex:inputField value="{!opportunity.name}"/>
<apex:inputField value="{!opportunity.type}"/>
</apex:pageBlockSection> </apex:pageBlock>
<apex:detail />
</apex:form>
</apex:page>
- mds
- August 31, 2011
- Like
- 0
- Continue reading or reply