You need to sign in to do that
Don't have an account?
bluecap
Dynamic Includes - Unknown Property
Hi all,
Hoping you all can help me. Im trying to dynamically display (include) X number of visual force pages on a single parent page. Im getting the following error when I try to save the VF code below:
ERROR:
Result: [COMPILE FAILED]: (MyDashboard) Unknown property 'ctrl_MyPage.str' (Line: 1, Column: -1)
All suggestions are appreciated.
Thanks!
Hoping you all can help me. Im trying to dynamically display (include) X number of visual force pages on a single parent page. Im getting the following error when I try to save the VF code below:
<apex:repeat value="{!strings}" var="str" id="theRepeat"> <apex:include pageName="{!str}"/> </apex:repeat>
... public String[] getStrings() { return new String[]{'pagename1','pagename2'}; } ...
ERROR:
Result: [COMPILE FAILED]: (MyDashboard) Unknown property 'ctrl_MyPage.str' (Line: 1, Column: -1)
All suggestions are appreciated.
Thanks!
All Answers
Here you go..
http://salesforce.stackexchange.com/questions/15622/include-component-seems-to-be-having-issues-with-merge-field-syntax-inside-of-a
pagename1
pagename2
Thanks for your help on this!