Hi, I've seen a couple of threads related to this, but it's still not clear to me.
I'm loading int-string pairs via an SQL datasource and choosing one of them from a SelectItem (valueField is the integer, displayField is the string). I'd like to disable or remove some of these programmatically, based on some other values in form.
I've seen mention of PickList, pickListAttributes, criteria, etc. Could you point me to a clear example or provide the methods or structure (inheritance/override?) required to do so?
Thanks in advance!
I'm loading int-string pairs via an SQL datasource and choosing one of them from a SelectItem (valueField is the integer, displayField is the string). I'd like to disable or remove some of these programmatically, based on some other values in form.
I've seen mention of PickList, pickListAttributes, criteria, etc. Could you point me to a clear example or provide the methods or structure (inheritance/override?) required to do so?
Thanks in advance!
Comment