• goodankit
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I'm using a param component nested inside a commandLink and want to set a controller variable to its value but I can't seem to get it to work.
 
Here is the visualforce code:
 
Code:
<apex:commandLink action="{!test}" value="Select">
 <apex:param assignTo="{!myClient}" value="{!client.Full_Name__c}"/>
</apex:commandLink>

And here is the controller code:
Code:
public class MyController
{
 String myClient;

    public void setMyClient(String s)
    {
     myClient = s;
    }
}

I get an error of Unknown property MyController.myClient.
 
Any ideas?