Search found 643 matches

by jyoung
Thu Sep 19, 2019 5:36 am
Forum: Questions & Answers
Topic: Report with images
Replies: 6
Views: 127

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 ...
by jyoung
Fri Aug 23, 2019 1:22 am
Forum: Suggestions for Product Enhancements
Topic: Remove Local Throttling
Replies: 0
Views: 70

Remove Local Throttling

Please remove the localhost throttling in VLWEB. I can't tell you how many times I am working through a scenario and everything locks up it waits for the a throttled request to complete. This is VERY frustrating as I think something has gone wrong only to realize I am fighting VLWeb's runtime. In Ch...
by jyoung
Thu Aug 22, 2019 11:37 pm
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 153

Re: VL WEb Browser Console Messsage

Chrome thinks the scripts are blocking the UI to much. There are quite a few posts on StackOverflow about it mainly from a couple years ago when Chrome introduced the feature. Here are a couple: https://stackoverflow.com/questions/43274361/violation-readystatechange-handler-took-760ms-after-update-t...
by jyoung
Sat Jul 27, 2019 12:33 am
Forum: Questions & Answers
Topic: VLF-ONE Back Button / Back Space
Replies: 9
Views: 291

Re: VLF-ONE Back Button / Back Space

Oh man, that would be nice! I know that other frameworks (Angular, React, Ember, Vue etc.) have solved this, but I don't know how they have done so. I don't know how you would make the underlying details work but these are my thoughts from a VLF-ONE developer perspective. I think that each Applicati...
by jyoung
Fri Jul 26, 2019 3:04 am
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 7
Views: 243

Re: Debugger Irritants

+1 on visibility into lists and collections.

Joe
by jyoung
Tue Jul 23, 2019 11:42 pm
Forum: Questions & Answers
Topic: VLF-ONE Back Button / Back Space
Replies: 9
Views: 291

Re: VLF-ONE Back Button / Back Space

If I just leave the querystring in place and DO NOT call uTerminate then it works.
I'm assuming then that this is safe to do, not calling uTerminate when the page closes.

Joe
by jyoung
Sat Jul 20, 2019 1:21 am
Forum: Questions & Answers
Topic: Trace File Best Practices
Replies: 2
Views: 142

Re: Trace File Best Practices

I contacted support who in turn contacted the developers about this. Here is their response Joe is correct in his concerns about multiple processes. The tracing object will be instantiated by the first object to run on the server, and it will open, and lock the file being written to. So when another...
by jyoung
Sat Jul 20, 2019 12:19 am
Forum: Questions & Answers
Topic: VLF-ONE Back Button / Back Space
Replies: 9
Views: 291

VLF-ONE Back Button / Back Space

A lot of our users are complaining about hitting the back space in VLF-ONE and it taking them back a page like the back button. I recognize that this is a browser issue and that Chrome removed that "feature" and FireFox has a way to disable it. IE and Edge however still behave that way and a lot of ...
by jyoung
Thu Jul 11, 2019 3:58 am
Forum: Questions & Answers
Topic: Trace File Best Practices
Replies: 2
Views: 142

Trace File Best Practices

When using a trace handler that implements #PRIM_APP.iTraceHandler the example the docs show uses an incrementing file counter. Something like this Mthroutine Name(GetNextFile) Access(*Private) Define_Map For(*Result) Class(#Prim_alph) Name(#Result) Define_Com Class(#prim_nmbr) Name(#Extension) Begi...
by jyoung
Tue Jun 11, 2019 12:42 am
Forum: Questions & Answers
Topic: DateTimeField Calendar Functionality
Replies: 3
Views: 250

Re: DateTimeField Calendar Functionality

I am getting the same behavior. Although I have noticed when you select a date in the previous or next month, the whole month display changes and the day selected has primary style whereas the cell that you clicked has a secondary theme. Here it's defaulted to today (June 10th). Capture1.PNG Then se...
by jyoung
Tue Jun 11, 2019 12:26 am
Forum: Questions & Answers
Topic: Consuming a webservice from a server side function on IBM i
Replies: 3
Views: 235

Re: Consuming a webservice from a server side function on IBM i

I may be missing something specific to your scenario, but you can use XPRIM_HttpRequest from a Function. I have not tried on the IBM i in a batch process, but I don't see why it would not work. This is Function that makes a simple HTTP request to Google and I get the response back. function options(...
by jyoung
Tue Jun 11, 2019 12:07 am
Forum: Questions & Answers
Topic: Retrieving API request body
Replies: 6
Views: 346

Re: Retrieving API request body

If you are trying to read the body of a request, and its JSON, you can use the PRIM_JSON_Document. Here is an example of reading POSTDATA from a request. The POSTDATA contains an array of "links". Note the APIContext seen here is a helper class that formats the proper response codes and messages. de...
by jyoung
Thu Jun 06, 2019 6:09 am
Forum: Questions & Answers
Topic: Consuming a webservice from a server side function on IBM i
Replies: 3
Views: 235

Re: Consuming a webservice from a server side function on IBM i

Are you referring to executing from an actual Function (ie. in a Process) or just executing from a server side component? I've done it using XPRIM_HTTPRequest wrapped in a Server Side Reusable Part which is called from the Server Module. I assume the same would work inside a Function. Regarding the ...
by jyoung
Fri May 17, 2019 3:14 am
Forum: Questions & Answers
Topic: What's going on @ LANSA?
Replies: 11
Views: 1454

Re: What's going on @ LANSA?

Yeah. Same here.

Joe
by jyoung
Thu May 09, 2019 11:30 pm
Forum: Questions & Answers
Topic: AlternBackColor for Web page
Replies: 2
Views: 259

Re: AlternBackColor for Web page

Checkout the AlternateItemThemeDrawStyle on the List https://docs.lansa.com/14/en/lansa016/prim_list_alternateitemthemedrawstyle.htm Capture.PNG begin_com role(*EXTENDS #PRIM_WEB) theme(#SYS_THEME<MaterialDesignBlue>) define_com class(#PRIM_LIST) name(#List1) displayposition(1) left(168) parent(#COM...
by jyoung
Thu May 09, 2019 7:09 am
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8825

Re: VLF-ONE IBM i Change Password and Password Expiration

Works great. Just one note, when you un-comment the code for the CheckPasswordExpiry, you will get an instant error on the #BIF_Password := #Password because the password passed into the method is a PRIM_DC.UnicodeString and the BIF_Password is char array. To fix, all you have to do is use "AsNative...
by jyoung
Thu May 09, 2019 7:04 am
Forum: Questions & Answers
Topic: Request
Replies: 2
Views: 8478

Re: Request

Should note that you have to edit the original post, editing the subject of a response does not change the display on the topics list.

Joe
by jyoung
Thu May 09, 2019 7:01 am
Forum: Questions & Answers
Topic: VLF-ONE Customize Logon Handler (solved)
Replies: 2
Views: 14680

Re: VLF-ONE Customize Logon Handler (solved)

Thanks Mark,

Had a couple issues with the designer using Layouts, however when I used your example (without layouts) it worked great.

Thanks,
Joe
by jyoung
Fri May 03, 2019 2:50 am
Forum: Questions & Answers
Topic: VLF-ONE Customize Logon Handler (solved)
Replies: 2
Views: 14680

VLF-ONE Customize Logon Handler (solved)

Trying to find more information on how to customize the UI for the logon handler. The docs keep pointing to the source of UF_OEXEC which in turn points me to here. https://docs.lansa.com/14/en/lansa048/index.htm#lansa/lansa048_8285.htm which tells me that it must have an ancestor of VF_AC026O. Creat...
by jyoung
Thu May 02, 2019 1:52 am
Forum: Questions & Answers
Topic: PRIM_LIST ItemClick with Page Scroll
Replies: 1
Views: 8912

PRIM_LIST ItemClick with Page Scroll

I'm having a bizarre issue in VLWEB with the PRIM_LIST when the page is scrolled. I am using the ItemClick event and what seems to be happening is that when the left mouse button is pressed, the page automatically scrolls down some. This puts the mouse on a different item then the item that was clic...