Hello all,
I am “trying” to do something which is NOT obvious in CAF.
I want to populate a Dropdown with some values. I got this working using a WSDL and injecting my connector into my canvas. I created a Content Provider for an Option Group and linked that with my dropdown. So far so good!
Next, I wanted to display MULTIPLE values in my dropdown (several columns). So I tried to do “#{output.param1}, #{output.param2}”… and AMAZINGLY it WORKED. So that’s about 50% of what I need to do.
Now I created a Input Text box and added a “Change” event (in my dropdown) to populate the Input Text box
(using CAF.model(‘#{caf:cid(“textValue”)}’).element.setValue(CAF.model(this).element.getValue()); ). This also works no problems.
Okay so what is missing??? Obviously I will convert my Input Text box to a Hidden Input. No problems there.
Where I have an issue is that I want to SET the value of #{output.param3} to the “textValue” GUI element.
Basically I want the dropdown to show TEXTUAL representation (“#{output.param1}, #{output.param2}”) of my ROWS and an ID version as an async input parameter (“#{output.param3}”).
If I have not been clear please reply and I will try to clarify any confusion. This is very important because I need to call an Async command button with an ID and display pretty descriptions in the dropdown…
Many thanks!
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods