function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ravi teja 81ravi teja 81 

link functionalites in visual force page

Hi i have a page where i created a table1 in that page . the data iam getting from custom controller in form of lists. i have some links on that table . when i click on that link i should dispaly another table2 below the table1.  my problem is when i click on a link i should get data related to that row only
User-added image
for ex. if i click on 10 under jan i want get data related to that jan only. for that iam passing parameters with name and driver but i would i know i clicked on 10 under jan only.


 
RatanRatan
Check this out with the link below. This is the same requirement as yours
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000BCIZIA4
Mudasir WaniMudasir Wani
Hello,
 
<apex:commandLink value="Process Nickname" action="{!processLinkClick}">
            <apex:param name="nickName"
                value="{!Record.Id}"
                assignTo="{!recIdInLink}"/>
        </apex:commandLink>

// handle the action of the commandlink
public String recIdInLink{get; set;}    
public PageReference processLinkClick() {
        System.debug('nickName: '+nickName);
        // now process the variable by doing something...
        //Fetch that record using where condition Id=: recIdInLink
        return null;
    }


Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help