Search found 687 matches

by jyoung
Thu Feb 13, 2020 2:09 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2635

Re: VL-WEB and Complex design

Hi Klaus, Attached is a simple demo that I just threw together. It looks like this in the IDE Tree with Components.png The page as a PRIM_TRIM<ROOTCOMP> on it. The Root Component has 2 Child Components and the Root Component tells one of the Children to do something, in this case it increments a cou...
by jyoung
Tue Feb 11, 2020 7:52 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2635

Re: VL-WEB and Complex design

Hi Klaus, By root component I mean the composition root RP. Its the RP that holds contains the other smaller RPs and perhaps coordinates them. I did not outline that very well, but you could visualize it like your first list entry. In that first element, you have 3 components, the green outline, the...
by jyoung
Sat Feb 08, 2020 2:10 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2635

Re: VL-WEB and Complex design

Hey Klaus, You could decompose the app into multiple smaller components. Annotation-Edit.png I don't know if I would use a tree view in this case. Perhaps a root component with some sub components and the root gets added into a Data Table, Expanding Panel or even a PRIM_MD.List. Regarding all the li...
by jyoung
Fri Feb 07, 2020 8:38 am
Forum: Questions & Answers
Topic: LWEB_JOB and XXXPGMLIB and X_LANSA.PRO
Replies: 1
Views: 868

LWEB_JOB and XXXPGMLIB and X_LANSA.PRO

I was notified by our system administrator that we are constantly getting authority failures on our DEV iSeries for LWEB_JOB user DCXPGMLIB . It looks like I created the file over a year ago, but more likely I was on the phone with support when the file was created as we were trying to solve some is...
by jyoung
Thu Jan 30, 2020 3:43 am
Forum: Questions & Answers
Topic: Default DrawStyle of Non-Material Design vs Material Design Controls
Replies: 3
Views: 917

Re: Default DrawStyle of Non-Material Design vs Material Design Controls

I think this comes down to how Material Deign works. Checkout the Material Design color palettes at https://material.io/design/color/the-color-system.html#color-usage-palettes You basically have 2 colors; primary and secondary. These three colors also have variants i.e. medium, dark and light. From ...
by jyoung
Fri Jan 24, 2020 5:08 am
Forum: Questions & Answers
Topic: Error updating web job status
Replies: 6
Views: 1129

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: 1129

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: 707

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: 707

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: 537

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: 1108

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: 1137

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: 1137

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: 1137

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: 1271

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: 2480

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: 530

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: 530

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: 2480

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...