Search found 120 matches

by kno_dk
Sat Apr 04, 2020 3:45 am
Forum: Questions & Answers
Topic: List - change expand/collaps icon
Replies: 0
Views: 10

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

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

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

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...
by kno_dk
Fri Feb 07, 2020 7:21 pm
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 1075

Re: VL-WEB and Complex design

anybody?

/Klaus
by kno_dk
Fri Jan 31, 2020 12:22 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 1075

Re: VL-WEB and Complex design

Hi.

Here are som samples and they should look nearly the same in the new application.
There is some list where we display the data, and there is a lot of Fields controlling what icons should be visible or not. and there is Fields just as output.

/Klaus
by kno_dk
Wed Jan 29, 2020 11:28 pm
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 1075

VL-WEB and Complex design

Hi. I am trying to move a wam application to the new VL-WEB. In my wam I have a list of items. On each of these item entries I have a lot of fields (More than 100) some of them is not shown every time, but are depending on other fields value. On each of these entries I am also displaying 5 other lis...
by kno_dk
Sun Dec 29, 2019 9:56 pm
Forum: Questions & Answers
Topic: VL-WEB, SSL and pending request
Replies: 4
Views: 646

Re: VL-WEB, SSL and pending request

Hi. I have now tested with the RequestFailed. The status I get back is ServerError. There is not joblog on the IBM I, No x_err.log. I do not get the nasty error message on the screen anymore because I add some error handling on the page. But It is strange that the HTTPS part is still ending up with ...
by kno_dk
Fri Dec 27, 2019 10:53 pm
Forum: Questions & Answers
Topic: VL-WEB, SSL and pending request
Replies: 4
Views: 646

Re: VL-WEB, SSL and pending request

Hi. I have this in my ValidateLogin srvroutine: #COM_OWNER.StartSession Timeout(604800) The strange thing is that this is only a problem on the HTTP-server which has enabled SSL. It is the same application, it is the same LANSA installation, same set of data - the only difference is the SSL. I will ...
by kno_dk
Thu Dec 19, 2019 10:54 pm
Forum: Questions & Answers
Topic: VL-WEB, SSL and pending request
Replies: 4
Views: 646

VL-WEB, SSL and pending request

Hi. I have a weird issue. I have for the past several years had a customer running a VL-WEB application on port 8080 on an IBM I. Now we have added a new http-server on the same box, with the same VL-WEB application but now with HTTPS. It works most of the time perfect. But if I open the application...
by kno_dk
Wed Dec 04, 2019 8:21 pm
Forum: Questions & Answers
Topic: Input fields in VL Web List
Replies: 5
Views: 342

Re: Input fields in VL Web List

Hi I have this Define_Com Class(#PRIM_LABL) Name(#Vare2KurvAntalPlus) Caption('+') Displayposition(2) Ellipses(Word) Height(25) Left(0) Parent(#Vare2KurvAntalPanel) Tabposition(2) Tabstop(False) Top(8) Verticalalignment(Center) Width(15) Alignment(Center) Themedrawstyle('Link') Define_Com Class(#PRI...
by kno_dk
Mon Dec 02, 2019 8:34 pm
Forum: Questions & Answers
Topic: JSON - XPRIM_HttpRequest vs PRIM_WEB.HttpRequest
Replies: 1
Views: 229

JSON - XPRIM_HttpRequest vs PRIM_WEB.HttpRequest

Hi I have this small solution where I integrate with a service using JSON. It is right now called from a server module. I am using XPRIM_HttpRequest like this: Define_Com Class(#XPRIM_HttpRequest) Name(#HttpRequest) where I am setting some parameters like this: #HttpRequest.Options.AddBasicAuthoriza...
by kno_dk
Thu Nov 28, 2019 1:36 am
Forum: Questions & Answers
Topic: PRIM_MD.List selected entry
Replies: 1
Views: 161

PRIM_MD.List selected entry

Hi. I have a list where I want to highlight the selected entry. I works fine when i add it to the list. But I am having problems when I select a new entry in the list. I also want the firste one to be unselected. I have done some test but I am a bit lost right now. Here is my code: Begin_Com Role(*E...
by kno_dk
Mon Nov 25, 2019 6:13 pm
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 360

Re: Calculate the lenght of field contens

Hi

Thanks

That was what I needed.

/klaus
by kno_dk
Sat Nov 23, 2019 10:02 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 360

Re: Calculate the lenght of field contens

Hi thanks But I still need to change the width of the labels so it is like Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewed and not like : Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewe...
by kno_dk
Sat Nov 23, 2019 5:35 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 360

Re: Calculate the lenght of field contens

Hi Thanks. it gives me the numbers of letters in the field. I need the size in the format of width. I need it to make some kind of breadcrum, like: Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewed If i just put the fields after each other I wi...
by kno_dk
Sat Nov 23, 2019 1:30 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 360

Calculate the lenght of field contens

Hi.

Is it possible to calculate the lenght of the content in field so I can set the width of the field in a RP?

/Klaus
by kno_dk
Mon Nov 18, 2019 10:50 pm
Forum: Questions & Answers
Topic: weird JSON problem.
Replies: 1
Views: 209

Re: weird JSON problem.

Hi.

I found the reason of the problem.

It was the ccsid settings of the Http-server (see table below). I can get it to work, but I will not have any € sign in the JSON response
Udklip.PNG
Udklip.PNG (10.79 KiB) Viewed 179 times
/klaus
by kno_dk
Fri Nov 15, 2019 7:11 am
Forum: Questions & Answers
Topic: weird JSON problem.
Replies: 1
Views: 209

weird JSON problem.

Hi. I have 3 wam which deliver som JSON in the response. I have tested the 3 wam's in POSTMAN (tool) and they works as expected on our development server (IBM I ) and when installed on the customers server (IBM I). I have then created a Server module on my development pc which integrate with these 3...
by kno_dk
Thu Nov 14, 2019 7:17 am
Forum: Questions & Answers
Topic: Servermodule log
Replies: 2
Views: 330

Re: Servermodule log

Hi

I found this
https://docs.lansa.com/14/en/lansa018/c ... 1_0395.htm

And it gave me what i needed.

/Klaus