+ Start a Discussion
SalesforceLearnerNewbieSalesforceLearnerNewbie 

I would like to assign a value from the method IF-ELSE in VF page to a variable

Hi,

I wish to assign the output from my IF-ELSE method to a variable and I do not know why the value is not stored into "v"

<apex:variable var="td" value="{!IF((total_index <= total_index2 && total_index2 < v.size),listtodotemp[total_index][total_index2], total_index2 + 1)}" />
SalesforceLearnerNewbieSalesforceLearnerNewbie
I mean into "td"