Page 1 of 1

VL Lansa for the web reusable part in list

Posted: Mon Dec 11, 2023 1:40 pm
by atostaine
I need to add a combo box in a column of my list. The contents of the combo box list will change based on input in other places on the page. For instance, the user may select a shipping speed, or a different address, and I need to update the box.

I've tried a technique I've seen somewhere previously by setting reference to the RP whenever a list row gets focus but it's not working great. When the user clicks SAVE and read through all of the rows I'm not always getting a value back from the RP.

I've seen the data entry list example for web with the Gender drop down but there is no interaction with the combo box aside from loading male/female.

Are there any examples for this? Thanks

Re: VL Lansa for the web reusable part in list

Posted: Tue Dec 12, 2023 3:22 am
by atostaine
After messing with the sample code, I need a way to force a load of the list after something else on the web page is changed.

This event in the dropdown ancestor isn't firing when using debug:


Evtroutine Handling(#DropDown.ItemGotFocus)

Re: VL Lansa for the web reusable part in list

Posted: Tue Dec 12, 2023 6:24 am
by davidbalansa
Hi Art,

Here is a quick export of a solution we came up with to put a dropdown in a list. Hope this helps.

Re: VL Lansa for the web reusable part in list

Posted: Tue Dec 12, 2023 7:02 am
by atostaine
Thanks David. This is V15. We are scheduled to upgrade but it's not happened yet. Damn. :D

Art

Re: VL Lansa for the web reusable part in list

Posted: Tue Dec 12, 2023 10:10 am
by davidbalansa
Hi Art,

You are correct, this example is for v15.

David