VL Lansa for the web reusable part in list

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

VL Lansa for the web reusable part in list

Post 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
Art Tostaine
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: VL Lansa for the web reusable part in list

Post 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)
Art Tostaine
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: VL Lansa for the web reusable part in list

Post 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.
Attachments
QuickExport_ListDropDown_20231212.zip
(11.69 KiB) Downloaded 3382 times
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: VL Lansa for the web reusable part in list

Post by atostaine »

Thanks David. This is V15. We are scheduled to upgrade but it's not happened yet. Damn. :D

Art
Art Tostaine
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: VL Lansa for the web reusable part in list

Post by davidbalansa »

Hi Art,

You are correct, this example is for v15.

David
Post Reply