You need to sign in to do that
Don't have an account?
Apex Method not firing when called from a Visualforce page
HI Everyone,
I have been having a weird issue and I don't know where to turn. I have a visualforce component with a Apex Controller. The Compoenent has a Command Button on it and has a method linked to it. When I click the button the method does not seem to trigger. The page just seems to reload and call the controllers constructor. I'm not sure why this is happening. The same code was working yesterday. I did make some changes but when I look at the code I can't seem to find anything wrong. When I put a breakpoint at the beginnig of the Apex Method it doesn't look like the method is even called. The Visualforce compoent is embbeded in a visualforce page that has a controller of it's own. I have no clue as to what the issue is. If you have run into a simmialr situation please let me know what your solution was if you found one. I am running out of options and ideas.
Thanks,
I have been having a weird issue and I don't know where to turn. I have a visualforce component with a Apex Controller. The Compoenent has a Command Button on it and has a method linked to it. When I click the button the method does not seem to trigger. The page just seems to reload and call the controllers constructor. I'm not sure why this is happening. The same code was working yesterday. I did make some changes but when I look at the code I can't seem to find anything wrong. When I put a breakpoint at the beginnig of the Apex Method it doesn't look like the method is even called. The Visualforce compoent is embbeded in a visualforce page that has a controller of it's own. I have no clue as to what the issue is. If you have run into a simmialr situation please let me know what your solution was if you found one. I am running out of options and ideas.
Thanks,
All Answers
Details - https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionRegion.htm
<apex:actionRegion >
<apex:inputField value="{!TempPlace.Pay_Frequency__c}"/>
</apex:actionRegion>