You need to sign in to do that
Don't have an account?
Siva Sakthi
How to hide and show the 3 different visualforce components in single vf page.
Hi,
I have 3(forms) in different vf components with different controllers show in a single VF page. The 1 st form (component) fill the details and click save means it should show the 2nd form(component ), then 2nd one completed means have to show the 3rd form(component) in same page . How to do this any idea. Pls guide me to solve this .
Eg: Like 1 st form have Basic Info, 2nd form have qualification , 3rd form have Acheivement Details. If 1st Basic Info form(component) completed the details and click save means show the 2nd Qualification form (component) in the same page.
<apex:page showHeader="false" sidebar="false" >
<apex:outputpanel rendered="false" >
<c:BasicInfo />
</apex:outputpanel>
<apex:outputpanel rendered="true" >
<c:Qualification />
</apex:outputpanel>
<apex:outputpanel rendered="false" >
<c:Achievement/>
</apex:outputpanel>
</apex:page>
Advance Thanks
Siva
I have 3(forms) in different vf components with different controllers show in a single VF page. The 1 st form (component) fill the details and click save means it should show the 2nd form(component ), then 2nd one completed means have to show the 3rd form(component) in same page . How to do this any idea. Pls guide me to solve this .
Eg: Like 1 st form have Basic Info, 2nd form have qualification , 3rd form have Acheivement Details. If 1st Basic Info form(component) completed the details and click save means show the 2nd Qualification form (component) in the same page.
<apex:page showHeader="false" sidebar="false" >
<apex:outputpanel rendered="false" >
<c:BasicInfo />
</apex:outputpanel>
<apex:outputpanel rendered="true" >
<c:Qualification />
</apex:outputpanel>
<apex:outputpanel rendered="false" >
<c:Achievement/>
</apex:outputpanel>
</apex:page>
Advance Thanks
Siva
--------------------------- ----------------------------------
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.
Could you please try the following steps mentioned in the below link for the communication between component and the visualfore page -
https://developer.salesforce.com/page/Controller_Component_Communication
Please let me know if you are facing any problems.
----------------------------------
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.
I tried this below code to show and hide visualforce components via jquery . While div id condition working fine but use the <c:c:EmployeeRegistrationComponent id="EmpRegister"/> means not working. Pls confirm is it possible to acheive this via jquery.
Thanks