I have a Skuid page that contains a page include of another skuid page. Everything works as expected if my VF markup is:
<apex:page standardController=“PO__c” recordSetVar=“c” extensions=“skuid.Redirects” action=“{!redirect}?actionType=Tab&objecttype=PO__c”>
</apex:page>
Unfortunately, the included page makes use of a controller extension via remoting and the above markup doesn’t give me visibility to the remote methods. To do so, I use the following markup:
<apex:page docType=“html-5.0” readOnly=“true”
standardController=“PO__c” recordSetVar=“c” extensions=“MyController”>
<skuid:page objectType=“PO__c” actionType=“Tab” />
</apex:page>
However, when changing to the above markup, the included page seems to encounter a clickjack issue as instead of the inner page in Skuid, another SFDC page is displayed (this seems to happen when clickjack is encountered normally).
I’ve tried using the skuid.Redirects markup and appending “,MyController” to the extensions attribute but when the remoting method is attempted, the object isn’t defined. I’m assuming this is because after the redirect, skuid doesn’t load in the additional controllers that were specified.
I’m trying to achieve a reusable page that I will include on all of my other skuid pages but I need to be able to call the remote method from the included page.
Thoughts/suggestions/alternatives?
Thank you!