You need to sign in to do that
Don't have an account?
Srt
Visualforce page not checking for method in extensions
<apex:page standardcontroller="Mycustomobject" extensions="dosomework">
<apex:form>
<apex:commandbutton action="{!dosomework}" value="GO!"/>
</apex:form>
</apex:page>
This is my Skeltal Code. when i try to save it I am getting error like - Can not find Mycustomobject.stdcontollerdosomework
dosomework is in extension.
Why the code is checking for method in standard controller and not in extension?
<apex:form>
<apex:commandbutton action="{!dosomework}" value="GO!"/>
</apex:form>
</apex:page>
This is my Skeltal Code. when i try to save it I am getting error like - Can not find Mycustomobject.stdcontollerdosomework
dosomework is in extension.
Why the code is checking for method in standard controller and not in extension?
Make sure you have a method also which you have mentioned in the action.
Please mark this as best answer if it solves your query