Search found 136 matches

by kno_dk
Thu Aug 27, 2020 10:14 pm
Forum: Questions & Answers
Topic: Servermodule call- Performance
Replies: 2
Views: 451

Re: Servermodule call- Performance

Update:
The srvroutine found 63 items so the function was call 63 times. the time spent was 5.65 seconds.

I then moved all the logic from the function I was calling into the serverModule. I did the same call as above and now the time was 286 milliseconds. :D
performance.PNG
performance.PNG (18.21 KiB) Viewed 447 times
by kno_dk
Thu Aug 27, 2020 9:21 pm
Forum: Questions & Answers
Topic: Servermodule call- Performance
Replies: 2
Views: 451

Servermodule call- Performance

Hi. I have some servermodules which calls a Function to get prices, stock. etc. I have looked at the time the call takes and I was think about if this is the best way (performance) to get the information. The application is running on IBM I and LANSA V14. Should I put all the servermoduls into one h...
by kno_dk
Thu Aug 20, 2020 6:26 pm
Forum: Questions & Answers
Topic: VL-WEB - list inside a list
Replies: 3
Views: 301

Re: VL-WEB - list inside a list

Hi Thanks. I have been down that road with the tree. If you have RP inside the entry and you have alot of info/data then you get poor performance. I am rewriting my views so I don't have to use a tree and if not possibel then moving away from RP in these trees. So I am looking for a way to show data...
by kno_dk
Sun Aug 16, 2020 5:01 am
Forum: Questions & Answers
Topic: VL-WEB - list inside a list
Replies: 3
Views: 301

VL-WEB - list inside a list

Hi.

Is it possible to have a list where inside each entry there is a list. I have a list of items and now I want to show a list of spareparts which fits the item. So the list inside the list could have 0 - 999 spareparts.

I am on LANSA V14.

/Klaus
by kno_dk
Fri Aug 14, 2020 9:01 pm
Forum: Questions & Answers
Topic: Right Click Disabled Websites
Replies: 1
Views: 239

Right Click Disabled Websites

Hi.

I have created a LANSA V14 VL-web application.

I am not able to mark, Right Click on text and copy it. Is there a way to enable the right click in a vl-web application?

/Klaus
by kno_dk
Tue Jun 23, 2020 8:24 pm
Forum: Questions & Answers
Topic: VL WEB and performance
Replies: 3
Views: 690

Re: VL WEB and performance

Hi I have a bit more info. In this RP #FDKItemListItemLayoutThin I have 3 RP for favorite, sticky note and for orderentry. If I remove these RP for the RP #FDKItemListItemLayoutThin it is pretty fast showing the info in the list and clear the list. Has anybody experince with the Scope and referance ...
by kno_dk
Tue Jun 23, 2020 7:12 pm
Forum: Questions & Answers
Topic: VL WEB and performance
Replies: 3
Views: 690

Re: VL WEB and performance

Hi. I have use the Fiddler and found that the interaction with the server is okay, no extra calls. I have made a simple view which have 2 differen function. One with top 20 item bought (20 entries in list) and one with customers added favorites (50 entries in list). these 2 functionallities use the ...
by kno_dk
Thu Jun 18, 2020 5:01 pm
Forum: Questions & Answers
Topic: NGINX and LANSA VL-WEB
Replies: 0
Views: 761

NGINX and LANSA VL-WEB

Hi.

I was attending a common session yesterday, and another vendor showed the NGINX on an IBM power linux partition with the IBM Power I partion as the web-server as backend. It reduced the respons time with more than 50 %. Is there anybody which have tried this with LANSA VL-WEB?

/Klaus
by kno_dk
Tue Jun 16, 2020 10:35 pm
Forum: Questions & Answers
Topic: VL WEB and performance
Replies: 3
Views: 690

VL WEB and performance

Hi. I am building af web catalog with LANSA VL-WEB. I have some simpel list showing some information. I have now extended these list with some RP (eg favorite item and Yellow note) with some extra functionality. After I have added these RP I can see a decrease in performance when it builds the list....
by kno_dk
Thu May 14, 2020 5:46 pm
Forum: Questions & Answers
Topic: Change content-type for WAM
Replies: 7
Views: 1698

Re: Change content-type for WAM

Hi Abel.

So what you are saying is that this could not be done on an IBM I? or is there a way around this conversion issue?

If I define thr response as JSON then it is convertet correct, but then I am not able to control the output as much as I want

/klaus
by kno_dk
Wed May 13, 2020 7:54 pm
Forum: Questions & Answers
Topic: Change content-type for WAM
Replies: 7
Views: 1698

Re: Change content-type for WAM

Hi I have now tried it like in the manual. if I change the content type to application/json I get this result: �����������z������G I have tried to add charset := 'UTF-8' but same result. If i don't change the Contenttype there is no problem. But I need to have the contenttype to application/json...
by kno_dk
Tue May 12, 2020 7:07 pm
Forum: Questions & Answers
Topic: Change content-type for WAM
Replies: 7
Views: 1698

Re: Change content-type for WAM

Hi Abel.

Should I then set the resonse as *Default or JSON in the WAM?
If it is default then I would still have the content-type text/html, and if it is JSON then I have a lot of json describing the wam routine in the respons.
Do you have an example?

/klaus
by kno_dk
Mon May 11, 2020 9:09 pm
Forum: Questions & Answers
Topic: Change content-type for WAM
Replies: 7
Views: 1698

Change content-type for WAM

I have a question regarding WAM. is it possible to change the content-type and charset to “application/json; charset=UTF-8” from the original “text/html; charset=ISO-8859-1”? If I change the response to *json then it sends the “application/json; charset=UTF-8” but I would like to build the respons i...
by kno_dk
Fri May 08, 2020 7:44 pm
Forum: Questions & Answers
Topic: Changing language in web applications
Replies: 2
Views: 1533

Re: Changing language in web applications

Hi.

I am having the same issue - looking forward to a solution ;-)

/klaus
by kno_dk
Tue Apr 21, 2020 9:55 pm
Forum: Questions & Answers
Topic: VL_WEB design
Replies: 0
Views: 2974

VL_WEB design

Hi. I have this VL-WEB page where i have inserted a RP which have a HTML container with a dynamic list (lenght could be 0,10,18 or 25 entries). The row I have put it into is set to Proportion and the size is set to content height. But as you can see the result with a list with 10 entries the height ...
by kno_dk
Wed Apr 08, 2020 4:55 am
Forum: Questions & Answers
Topic: VL-WEB and layout manager
Replies: 0
Views: 3245

VL-WEB and layout manager

Hi.. I am building a VL-WEB application. When I show the items i a list, I have a parent RP that is put togetherby alot of small RP to show different information. These information I want to show in the RP could be a list of information ( different length of the list). Which settings (allignment, si...
by kno_dk
Sat Apr 04, 2020 3:45 am
Forum: Questions & Answers
Topic: List - change expand/collaps icon
Replies: 0
Views: 3017

List - change expand/collaps icon

Hi I have an list which can expand/collaps. I would like to change the icons to some other icon or style them so they are black and at the sametime remove the line between each entry in the list. Is that possible? here is the defination of the list: Define_Com Class(#PRIM_LIST) Name(#List1) Displayp...
by kno_dk
Thu Feb 13, 2020 4:43 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2960

Re: VL-WEB and Complex design

Hi Joe. Thanks for exsample. This is pretty much what I already got. What I want is to change the treeview to a list of a kind, so I can do something like this #ChildComponent.LoadData pSummary(#Summary) pLines(#Lines) pPaymentTypes(#PaymentTypes) for each entry in the list, so i can transfer much m...
by kno_dk
Thu Feb 13, 2020 12:43 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2960

Re: VL-WEB and Complex design

Hi Joe. If I have my root component and i have defined a prim_md.list to hold my item list. How do I then add the child component(which i use to make the setup) to an entry in the prim_md. list? Today I have used the prim_tree like this: Define_Com Class(#PRIM_TREE<#FDKItemListItemLayout1>) Name(#Tr...
by kno_dk
Mon Feb 10, 2020 8:16 pm
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2960

Re: VL-WEB and Complex design

Hi Joe. What do you mean by root Component? And I need all the list because they decide which parts they need base on the info on these list. It could be an oil filter that is change from a production yyyymm. Are you able to send multiple PRIM_ACOL<> to a RP? or could there be list inside a acol? Th...