+ Start a Discussion
Chatter App08887189372361651Chatter App08887189372361651 

Parameter always showing as Null in controller

I am trying to pass a value from a VF form into my controller, however the parameter is always staying as Null.
VF Code:
<apex:repeat value="{!ProdCVSiteInfo}" var="p">     
        <apex:commandButton value="Add" action="{!addProd}" style="vertical-align: top; padding:3px;">
            <apex:param name="selectedProducts" value="{!p.Id}" assignTo="{!selectedProducts}"/>  

public String selectedProducts {
set {selectedProducts = value;}

Where am I going wrong as i have done this previously and the code looks the same, can't seem to see the error.

Best Answer chosen by Chatter App08887189372361651
Norm Sherman SFNorm Sherman SF
This help? https://success.salesforce.com/ideaView?id=08730000000YcV8AAK