You need to sign in to do that
Don't have an account?
kmorf_entransform
How to use apex:actionFunction
Hi im trying to find an alternative to
<apex:page standardcontroller="Shipment" action="{!agree}"> </apex:page>
by using apex:actionFuntion so that the code looks something like this
<apex:page standardcontroller="Shipment" > some code... ... <apex:actionFucntion name="agree" action="{!agree}"/> </apex:page>
can someone help me?
It can be called on window.onload event like :-
All Answers
Action function is used to call the controller methods from javascript... This link should make things clearer
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm
is there an alternative to
so that action="{!agree}" is not called within the apex:page component when the page is rendered. For example
apex method agree should automatically be called when the page is rendered
It can be called on window.onload event like :-
Thanks for the help. that works perfectly
what's the trick to avoid having an infinie loop when the page loads?