You need to sign in to do that
Don't have an account?
Keith654
Problem with apex:variable that is dependent on the apex:pageBlockTable variable
Here is a contrived example of a problem I have where I have a complicated expression that I'd like to evaluate once per table row using a variable. Instead of v2 corresponding to the current value of v1, it corresponds to the last row value of v1:
<apex:pageBlockTable var="v1" value="{!sobject}"> <apex:variable var="v2" value="{!v1.StyleField}"/> <apex:column value="{!v1.ValueField}" style="{!v2}"/> </apex:pageBlockTable>
Does anyone have any insight into this or ways to get variables to work in this context? I haven't found anything in the documentation about this case.
Thanks,
Keith
Anybody out ther with a solution?