You need to sign in to do that
Don't have an account?
Supper_Kent
How to invoke aonther visualforce page in the main visualforce page in sites.
I tried using <apex:outputLink value ="VisualforceB"> or <apex:include page> in VisualforceA, it worked well in the platform but not in site, any help? BTW, i added the VisualforceB to the site.
Thanks
<apex:include> should work, I've used it plenty of times (even includes of includes work).
You'll need to check your public access settings again.
For my site I ve implemented similar logic. You can try this out...
In your main page create any button or link which will redirect your user to another visualforce page.
in <apex:commandbutton> or <apex:commandlink> use "action" attribute. in this attribute use your page name. (to which you want to redirect your user) {'/apex/visualforcepage name'}.
Hope this will help you.