+ Start a Discussion
Rajesh ShahRajesh Shah 

PageReference of S-Control

How do I get a pageReference of a S-Control in an Visualforce Controller?

For eg: I want to call an S-Control after saving the record in the s-contol.

I know I can do it using /servlet/servletIntegration ...... but I don't want to do it this way. 

Message Edited by Rajesh Shah on 09-08-2009 07:12 PM
Chirag MehtaChirag Mehta

How about using a JS function with window.location.href= URLFOR( ...."{!$Scontrol.XYZ}"...). 

Call this JS function as oncomplete attribute of your submit button