You need to sign in to do that
Don't have an account?
Scott M - SFDC Fan
Invoking a method at certain points in a page
Hi,
Is there a way to invoke a method of a controller extention, without connecting it to some sort of page element, like a button? I know about the action parameter in the page tag. However, I want to run some logic behind the scenes though, without the user pressing any buttons. For instance, saving something to the database, after the page is completely loaded.
Also, is there a way to pass a parameter to a method with the action parameter in the page tag?
Thanks for any assistance.
scamo
werewolf
Well, you could wire up the page with some Javascript triggered from various events which "phone home" and execute some Apex to do certain things.