From the above IS doc structure what i have understood is orders is the doc list and for each orderNo again u ll be having the orderLines as one more doc list, if this is correct,
U can create a groupOfOptions as a contentProvider, if u bind this to the dropDown you ll be getting the orders in that.
use a raiseOnChange control along with AsnyHiddenCommand button for the orders dropdown.
in the action, retrive the orderLines values from the resultprovider for the item that user has selected from the orders dropdown and assign those values to a string list. Bind the string list to the orderLines dropdown.
Hi.
Thanks for the input but I need a bit more help.
I am able to populate the first dropdown.
But I don’t quite get how to populate the second.
"retrieve the orderLines values from the resultprovider for the item that user has selected from the orders dropdown and assign those values to a string list. Bind the string list to the orderLines dropdown. "
How do I retrieve these values and populate a string list?
I am feeling very lost in the portlet world.
i have used a raiseOnChange control along with the asnyHiddenCommand button.
this button is binded to an action which will transfer the values from the result provider to string list.
Code for transferring the values from contentProvider to the ArrayList
U have to create two content providers for the orderNo’s one is GroupOfOptions and another one is BasicTable(version 7.1.2)
i have used a raiseOnChange control along with the asnyHiddenCommand button.
this button is binded to an action which will transfer the values from the result provider to string list.
Code for transferring the values from contentProvider to the ArrayList
U have to create two content providers for the orderNo’s one is GroupOfOptions and another one is BasicTable(version 7.1.2)