+ Start a Discussion
Shephali SwarnkarShephali Swarnkar 

Different forms within a page

Hi All,
   I have created a report in Table form.In that table i need to make some values  link and by clicking that link i need to show some other list view within same page in other form.is it possible???
below is my fuction for list view:
/*public void assigncontact()
 num_con=[select Name, Email, MobilePhone, Phone from Contact where owner.alias=: Alias];     

//My table row where i have made it a link
    <td>Number of Contacts Assigned</td>
  <td> <apex:outputLink onclick="assigncontact()"> {!asn}</apex:outputLink></td>
<!-- //below is my second form where i need to display the records -->
<apex:form >
  <apex:pageBlock >
<apex:pageBlockTable value="{!num_con}" var="cn">
<apex:column value="{!cn.Name}"/>
<apex:column value="{!cn.Email}"/>
<apex:column value="{!cn.mobilephone}"/>
<apex:column value="{!cn.phone}"/>
Question: How to call the function and how to render that form so that after clicking on that value(link) the second form will appear within the same page.
Balaji BondarBalaji Bondar
Hi Shephali,

Use nested table as per below example :