Search found 662 matches

by jyoung
Fri Jan 24, 2020 5:08 am
Forum: Questions & Answers
Topic: Error updating web job status
Replies: 6
Views: 210

Re: Error updating web job status

We were able to track this down to a CL call.

We a have a Server Module that calls a Function that in turn calls a CL program.
This particular CL builds a PDF and for whatever reason, changes the library list.

Including ***COMLIB into the library list of the CL resolved the issue.

Joe
by jyoung
Fri Jan 24, 2020 4:06 am
Forum: Questions & Answers
Topic: Error updating web job status
Replies: 6
Views: 210

Re: Error updating web job status

Hey Art, Have you made any progress on this? We have started seeing the same message. Additional Message Information Message ID . . . . . . : DCM2091 Severity . . . . . . . : 40 Message type . . . . . : Diagnostic Date sent . . . . . . : 01/23/20 Time sent . . . . . . : 10:51:17 Message . . . . : Er...
by jyoung
Wed Jan 15, 2020 3:28 am
Forum: Questions & Answers
Topic: #PRIM_MD.list
Replies: 4
Views: 61

Re: #PRIM_MD.list

Sorry about that :? How about using a Style, although you have to calculate the mod yourself. begin_com role(*EXTENDS #PRIM_WEB) Theme(#JoesTestTheme) define_com class(#PRIM_VS.Style) name(#Style1) BackgroundBrush(#Brush1) define_com class(#PRIM_VS.SolidBrush) name(#Brush1) Color(128:222:234) define...
by jyoung
Wed Jan 15, 2020 2:23 am
Forum: Questions & Answers
Topic: #PRIM_MD.list
Replies: 4
Views: 61

Re: #PRIM_MD.list

You need to set the AlternateItemThemeDrawStyle property on the List to a Theme drawstyle. For example: Create a Theme with a custom drawstyle. Here is a Theme named "JoesTestTheme" and a drawstyle named "AltRow". begin_com role(*EXTENDS #PRIM_THM) BaseTheme(MaterialDesignBlue) define_com class(#PRI...
by jyoung
Tue Jan 14, 2020 2:20 am
Forum: Questions & Answers
Topic: Question about Partitions and RESTful Web Services
Replies: 2
Views: 86

Re: Question about Partitions and RESTful Web Services

I don't know if this will help at all but, when you compile a Server Module with an API definition a "map" entry gets written into a conf file that is used at the SYSTEM level and not at the PARTITION level. In the LANSA Install/run/conf folder should be the webmodules.conf file. It's a JSON file th...
by jyoung
Wed Dec 11, 2019 9:19 am
Forum: Questions & Answers
Topic: Where to Start?
Replies: 8
Views: 310

Re: Where to Start?

I think it all depends on your frame of reference and what you "grew up" on. I came from the .NET world of web development and thought wow, this is much easier then all the HTML, CSS, Javascript, C#, Application Frameworks and Libraries you have to know. I've seen RPG programmers coming into LANSA g...
by jyoung
Thu Nov 14, 2019 8:42 am
Forum: Questions & Answers
Topic: VL-WEB What column clicked in list?
Replies: 10
Views: 259

Re: VL-WEB What column clicked in list?

I remember having this exact issue and there not being (or not finding) a "Click" event for the column.
That would have made some things a heck of a lot easier.

Good to know for future work. :D
by jyoung
Thu Nov 14, 2019 8:37 am
Forum: Questions & Answers
Topic: VL-WEB What column clicked in list?
Replies: 10
Views: 259

Re: VL-WEB What column clicked in list?

I just threw this together begin_com role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) define_com class(#PRIM_LIST) name(#List) ColumnHeaderHeight(48) ColumnLines(False) DisplayPosition(1) Height(360) Left(311) Parent(#COM_OWNER) RowHeight(48) TabPosition(1) Top(67) Width(500) define_co...
by jyoung
Thu Nov 14, 2019 8:29 am
Forum: Questions & Answers
Topic: VL-WEB What column clicked in list?
Replies: 10
Views: 259

Re: VL-WEB What column clicked in list?

That's interesting. I've had to use a custom control for this. The docs here https://docs.lansa.com/14/en/lansa016/prim_list.column.htm don't show a "Click" event only a "ColumnClick". HOWEVER, the EXAMPLE does. :? I've had to do some trickery where I put a custom control on the list, establish a dy...
by jyoung
Sat Oct 19, 2019 2:43 am
Forum: Questions & Answers
Topic: performance issue opening up dialogs from container
Replies: 7
Views: 586

Re: performance issue opening up dialogs from container

Hi Gary, First thing to do would be to identify if it the slow down is on the server or client. If you are using Chrome (other browsers have similar tools) open up the Dev Tools (Ctrl+Shift+J), click on the Network Tab and make sure XHR is selected. Run through your app and you should see the data r...
by jyoung
Thu Oct 03, 2019 11:54 pm
Forum: Suggestions for Product Enhancements
Topic: Free Form Text Block in Code Editor
Replies: 3
Views: 328

Re: Free Form Text Block in Code Editor

Hi Brendan, I think that is a good work around and something I will have to remember to do. I get that there are limitations on what the compiler can handle right now, but surely it can be upgraded. With other languages like C#, Java etc. the compiler is continuously updated to provide new features....
by jyoung
Thu Oct 03, 2019 2:45 am
Forum: Questions & Answers
Topic: VL Web Google Line Chart - (RESOLVED)
Replies: 1
Views: 212

Re: VL Web Google Line Chart

Good grief, this caused me all kinds of headaches. I really, really don't like Javascript, but sometimes its the only way to get stuff done. The main problem is that I need to transpose the list, basically make the top row columns and the first column rows. I could not figure out a way to do this in...
by jyoung
Wed Oct 02, 2019 4:10 am
Forum: Questions & Answers
Topic: VL Web Google Line Chart - (RESOLVED)
Replies: 1
Views: 212

VL Web Google Line Chart - (RESOLVED)

I am trying to get a widget to display some summary data. What I'm struggling with getting my data shaped in a way that can be presented in a Google Line Chart. I have data that looks like this, where each month is a calculated value (all in a List definition). def_list name(#Trendlines) fields(#wk_...
by jyoung
Tue Oct 01, 2019 12:09 am
Forum: Suggestions for Product Enhancements
Topic: Free Form Text Block in Code Editor
Replies: 3
Views: 328

Free Form Text Block in Code Editor

Do the developers still pay attention to this board? The board description mentions that all entries will acknowledged, but a lot of these go unacknowledged. In case they do, it would be nice to have a free format text block in the IDE editor. The editor is VERY demanding with its spacing and indent...
by jyoung
Sat Sep 28, 2019 6:06 am
Forum: Questions & Answers
Topic: VLF-ONE Deep Menu (RESOLVED)
Replies: 2
Views: 216

Re: VLF-ONE Deep Menu

Huh, I have no idea how I missed that.

Thanks!
by jyoung
Sat Sep 28, 2019 3:54 am
Forum: Questions & Answers
Topic: VLF-ONE Deep Menu (RESOLVED)
Replies: 2
Views: 216

VLF-ONE Deep Menu (RESOLVED)

I just noticed that the VLF-ONE Example Applications has a deeper menu structure then the other apps. See how under "Example Applications" there is a Foundation menu item and then the Object menus. Capture.PNG How do you get this other menu item (Foundation, Advanced Use Cases) in the Framework? Tha...
by jyoung
Sat Sep 28, 2019 3:50 am
Forum: Questions & Answers
Topic: Screen designs
Replies: 1
Views: 205

Re: Screen designs

It sounds like you are trying to drill down into Orders -> Order Details & Order Lines -> Order Line Details. Order Details and Order Lines can all be shown in the Commands for the Order Instance, i.e. one command for Details, one command for Lines. Where you will run into a problem is when you want...
by jyoung
Tue Sep 24, 2019 11:36 pm
Forum: Questions & Answers
Topic: Visual LANSA Context Menu
Replies: 7
Views: 413

Re: Visual LANSA Context Menu

We do this with a popup window in our VLF-ONE app Capture.PNG The navigation list is pretty simple define_com class(#PRIM_PPNL) name(#NavigationPopup) LayoutManager(#NavigationPopupLayout) TitleBar(True) TitleBarThemeDrawStyle('PopupTitleBar') Left(633) Top(40) Height(225) define_com class(#PRIM_MD....
by jyoung
Thu Sep 19, 2019 5:36 am
Forum: Questions & Answers
Topic: Report with images
Replies: 6
Views: 477

Re: Report with images

We use Integrator's PDFDocumentService quite a bit. After the initial shock of having to write the XML template, it really is not that bad and most of my templates are pretty small. There is some trial and error involved to get the spacing right, but after a couple you tend to get an idea of what's ...