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
hoomelhoomel 

pass value from apex:repeat to class

Hello,

 

i am desperately trying to find a way to pass a value from a Visualforce page to my custom controller without the user having to do something.

 

The background is that i have some nested apex:repeat-elements and i need a value from the first repeat passed to the controller to execute a database query comparing that value and use the result as a list for the second apex:repeat.

 

Is this somehow possible?

 

I already thought about using apex:inputHidden to set the value to the field and pass it to the controller but as i understand it, i need to call an action to pass the value, is that correct?