Search found 687 matches

by jyoung
Sat Sep 28, 2019 6:06 am
Forum: Questions & Answers
Topic: VLF-ONE Deep Menu (RESOLVED)
Replies: 2
Views: 477

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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