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
nello_THnello_TH 

Dynamic VF Component - ActionFunction param

I have the following code:

 

Component.Apex.ActionFunction generateActionFn = new Component.Apex.ActionFunction();
generateActionFn.name = 'generate';
generateActionFn.expressions.action = '{!generate}';
generateActionFn.reRender = new Set<String>{'page_container'};

 My question is, how do you add a parameter (an Apex:Param) to this ActionFunction? I've tried the obvious things but with no success...

 

Anyone managed to do this or have any ideas?