Hi,
This is a simple scenario. On selecting a value from Dropdown (DD_A), some values in DropDown (DD_B) must be disabled.
Both DD_A and DD_B have their values as individual Select Items (Options) and not as Option Group.
I tried the following.
Set the “Disabled” property of the Select Item in DD_B to an expression comparing the value bound to DD_A as below.
#{BlahBlahDefaultviewView.yourVehicle != "EuroFighter"}
This makes that Select Item always Disabled.
I tried to use On Change Client Side script of DD_A to access the child controls (SelectItem) of DropDown Control by hoping to use DOM access methods and
setDisabled(true)
, but I was obviously not doing it right.
BTW, I previously tried to post this message with below code example
#{BlahBlahDefaultviewView.selectedFruit != "appl.e"}
and the Forum promptly displayed the following message without “.” in “appl.e”.
The word appl.e is on our list of spam related words. Please refrain from posting this word.
Hope it is a minor thing and someone can help me with this.
Thank you for your help in advance,
Thanks,
Best regards,
Raj
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods