You need to sign in to do that
Don't have an account?
Nayana Pawar
Visualforce page <apex:include > issue.
When I tried to do this with <apex:include> I got the following error:
" Error: 'apex:form' component cannot be nested within form tags "
If I remove form tag from that page,it contains lots of components that can not survive without form.
For instance if I delete the form tag then it is showing the error like
" Error: <apex:commandButton > (under <apex:page>) must occur between <apex:form></apex:form> tags. "
Can anyone please help me for this.
" Error: 'apex:form' component cannot be nested within form tags "
If I remove form tag from that page,it contains lots of components that can not survive without form.
For instance if I delete the form tag then it is showing the error like
" Error: <apex:commandButton > (under <apex:page>) must occur between <apex:form></apex:form> tags. "
Can anyone please help me for this.
TRy to add the <apex:include> out side the form and below the <apex:page > your probelm will resolve .
Please let me know if it helps .
Thanks
Manoj
Thanks
I hope you are using form tag in "Composition page" and your main page also.
Please remove the form tag from "Composition page" or Main page then it will work.
Please use <apex:form tag only one time
Please let us know if this will help you
http://amitsalesforce.blogspot.in/2015/02/defining-templates-with-apexcomposition.html