You need to sign in to do that
Don't have an account?
Oxene
Dynamic label styling
I have a VF page in which i'm using 40 outputFields. I want these to be styled according to a particular condition. If the field value satisfies the condition, style1 should be used or else style2 should be used. Now i can write 40 different functions to check whether each field satisfies the criteria or not. I want to use a generalized function by passing some parameter to the function.
But I'm not able to pass parameters to a function from the VF page. Does anybody know how to do this?
How can i do this in a better way so that i use a generalized function?
Please help me out if you have any ideas.
But I'm not able to pass parameters to a function from the VF page. Does anybody know how to do this?
How can i do this in a better way so that i use a generalized function?
Please help me out if you have any ideas.
TehNrd
How about something like this:
Code: