You need to sign in to do that
Don't have an account?
prasad1.3969574005596787E12
How to control apex:repeat using picklist value
Hi All,
I am trying to iterate the apex:repeat with value of picklist.
what I mean is........... If I select 3 from picklist, apex:repeat must iterate only 3 times only.
Please help me
I am trying to iterate the apex:repeat with value of picklist.
what I mean is........... If I select 3 from picklist, apex:repeat must iterate only 3 times only.
Please help me
<apex:selectList value="{!listValueSelected}" onChange="actionFunctionChangeRepeat(this.options[this.selectedIndex].value);">
<apex:outputPanel id="panelIteration>
public String listValueSelected { get; set; }
public SelectOption[] getListOptions {
......
return my SO;
public String[] listOfIteration {
.....
return myLOI;
}set;
public void apexMethodChangeRepeat(){
listOfIteration = new String[]{};
Integer Total = integer.valueof(myValue);
for(Integer i = 0; i < Total; i++){
Pablo