function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Supper_KentSupper_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

Message Edited by Supper_Kent on 01-08-2010 01:07 AM
David VPDavid VP

<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.

nilankanilanka

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.