Search found 44 matches

by Jiri
Fri Nov 01, 2019 3:22 am
Forum: Questions & Answers
Topic: Adjust a date by month
Replies: 5
Views: 1728

Re: Adjust a date by month

Those are good and fully working examples, but we would prefer an enhancement that LANSA would support standard date operations like many other languages. The syntax may be LANSA specific, but it should be possible to use months /years in adjustment directly, not via mathematic operation followed by...
by Jiri
Thu Jul 04, 2019 11:26 pm
Forum: Questions & Answers
Topic: 'Clickable' field item in ListView (Windows interface)
Replies: 0
Views: 364

'Clickable' field item in ListView (Windows interface)

We have requuest for following functionality: In Windows listview should be one column used for marking specific rows. The 'marked' rows wil contain some image here (i.e. asterix), another rows none (*null image). It should be changed by single click limited to the specified column. It means, no who...
by Jiri
Wed Mar 14, 2018 1:54 am
Forum: Questions & Answers
Topic: C code for virtual field derivation - example ?
Replies: 2
Views: 1130

Re: C code for virtual field derivation - example ?

Yes Stewart, I know it and I am using it on new projects. But the affected files must stay RDML , because they are read by many RDML functions, which cannot be converted to RDMLX due to 5250 screens or report commands not alloved in RDMLX. And vice versa - RDMLX file cannot be directly read from RDM...
by Jiri
Tue Mar 13, 2018 12:36 am
Forum: Questions & Answers
Topic: C code for virtual field derivation - example ?
Replies: 2
Views: 1130

C code for virtual field derivation - example ?

Our customer is considering partition change from RDML->RDMLX. This is recommended by LANSA, and it is requirement for usage of many LANSA features. There is problem with couple of files, which are using RPG code for virtual field derivation. For RDMLX, another C based OAM is created, not using this...
by Jiri
Fri Jun 09, 2017 10:08 pm
Forum: Tips and Techniques
Topic: JSON external data transfer
Replies: 10
Views: 8804

Re: JSON external data transfer

Anyone have an example, how to pass basic authentication (User & Password) to LANSA HTTP request header? On web, there is lot of examples for PHP, Nette etc. but we are not able to implement it il LANSA. If the authorisation data (User and Password) are not passed by browser, browser will ask for it...
by Jiri
Sat Apr 22, 2017 12:39 am
Forum: Tips and Techniques
Topic: MS/SQLEXPRESS installation in Deployment
Replies: 0
Views: 2015

MS/SQLEXPRESS installation in Deployment

Hello, We are creating a very simple demo application, which should be (as typicall demo) installed localy on single computer (small database as well as VL windows compoments). The aim is to made installation (and possible uninstallation) as easy as possible for demo users. In example (if possible) ...
by Jiri
Wed Apr 12, 2017 6:54 pm
Forum: Questions & Answers
Topic: Login PopUp - how to allow remembering login values ?
Replies: 5
Views: 1829

Re: Login PopUp - how to allow remembering login values ?

Thanks Steward, it is good and simple example
by Jiri
Wed Apr 12, 2017 6:44 pm
Forum: Questions & Answers
Topic: Theme for required button style
Replies: 3
Views: 1637

Theme for required button style

Hello, We have request for button style behaviour: Inactive (dissabled) buttons should have fill color grey Enabled buttons should fill red. All others states (i.e. focused, mouseover etc.) are identified by text style change and cursor for mouseover, the fill reminds red. The problem is, in Theme d...
by Jiri
Wed Apr 12, 2017 1:16 am
Forum: Questions & Answers
Topic: How to delete large number RDMLXfunctions from production environment
Replies: 2
Views: 879

Re: How to delete large number RDMLXfunctions from production environment

Did you tried to use Repository Built-in functions? We are using it for similar tasks.
See:
http://docs.lansa.com/14/EN/lansa015/in ... 1_0036.htm
by Jiri
Wed Apr 12, 2017 1:13 am
Forum: Questions & Answers
Topic: Login PopUp - how to allow remembering login values ?
Replies: 5
Views: 1829

Re: Login PopUp - how to allow remembering login values ?

Does not work for me :-(

Can you provide any functional example ? Either the login as requested or a possibility to store login localy?
by Jiri
Mon Apr 10, 2017 8:54 pm
Forum: Questions & Answers
Topic: Login PopUp - how to allow remembering login values ?
Replies: 5
Views: 1829

Login PopUp - how to allow remembering login values ?

VL-web application uses a simple login POP-UP window for entering required User name and Password . The authentication logic in using application file (containing profiles and encrypted passwords) and server module for authentication. It works fine, but customer is wondering, why this login cannot b...
by Jiri
Sat Apr 01, 2017 1:46 am
Forum: Tips and Techniques
Topic: VLF Windows - Send to MS Excel example
Replies: 6
Views: 4796

Re: VLF Windows - Send to MS Excel example

The stream file management is not problem - if we cannot use your internal BIF, we can create own (or reusable component) for it to allow share the logic for more instance lists on single place. But for real implementation, and in aim to ensure similar behaviour for built-in Instance lists as well a...
by Jiri
Wed Mar 29, 2017 12:54 am
Forum: Tips and Techniques
Topic: VLF Windows - Send to MS Excel example
Replies: 6
Views: 4796

VLF Windows - Send to MS Excel example

The built-in instance list browsers (for both WLF-WIN and VLF-One) have useful feature Allow Instance List to be sent to MS/Excel . If we (from any reason) replace it with own snap-in Instance list browser, this option does not work probably because it is not defined in user code. Can you provide an...
by Jiri
Fri Mar 10, 2017 11:20 pm
Forum: Suggestions for Product Enhancements
Topic: Call_Server_Function equivalent for components
Replies: 0
Views: 8010

Call_Server_Function equivalent for components

The basic suggestion is included in subject: - It would be very helpful, if would be possible to establish component -to component communication over network. Currently, from Windows client, we can invoke only server function (via Call_Server_Function BIF), which is typical procedural code. From VL_...
by Jiri
Thu Mar 02, 2017 11:53 pm
Forum: Tips and Techniques
Topic: JSON external data transfer
Replies: 10
Views: 8804

Re: JSON external data transfer

Hello,
Cou please give as an example of HTTP request with basic authentication? The published is only to unauthorised server.
For authorisation, it is necessary add some information to HTTP header (may vary by requirements), for exaple some user and password.
by Jiri
Tue Feb 14, 2017 9:29 pm
Forum: Questions & Answers
Topic: VL-Web file upload example
Replies: 5
Views: 1793

Re: VL-Web file upload example

Thanks, the example is fine. Is somewhere some more detail documentation about the RESPONSE usage? I have found reference to mentioned code ( http://docs.lansa.com/14/en/lansa017/content/LANSA/vlwebeng01_0545.htm ) and response class http://docs.lansa.com/14/EN/LANSA016/PRIM_WEB.HttpResponse.htm , b...
by Jiri
Tue Feb 14, 2017 4:55 am
Forum: Questions & Answers
Topic: VL-Web file upload example
Replies: 5
Views: 1793

Re: VL-Web file upload example

I have related question - how to present the saved file back to client? In WAM, there was a special type of webroutine RESPONSE(*HTTPR) , which was used for it. In VL_WEB, I can have srvroutine like this: Srvroutine Name(GET_DOC) Field_Map For(*INPUT) Field(#DocID) Parameter_Name(ReqDocID) Field_Map...
by Jiri
Thu Feb 09, 2017 9:44 pm
Forum: Questions & Answers
Topic: VL-Web - how to show notes with basic (line) formating
Replies: 3
Views: 1424

Re: VL-Web - how to show notes with basic (line) formating

Thanks. I have found also another option - use HTML Container (#PRIM_WEB.HtmlContainer). It resizes OK and allows basic HTML formating (new line, Bold...). But TreeView is also fine option.
by Jiri
Thu Feb 09, 2017 9:19 pm
Forum: Questions & Answers
Topic: WebPage and Theme
Replies: 4
Views: 1742

Re: WebPage and Theme

Hello, I have (from other developer) another good reason, why using of CSS and classes might be much better than inline styles also in VL. The reason is requirment of mixed static (html) /dynamic (VL) pages on singlke site. Using of CSS (regardless of fact, if would be manually writen, or generated ...
by Jiri
Thu Feb 09, 2017 3:32 am
Forum: Questions & Answers
Topic: VL-Web - how to show notes with basic (line) formating
Replies: 3
Views: 1424

VL-Web - how to show notes with basic (line) formating

The requirement is to show list of notes on single web page. Each note have a single caption and some text, basically formated only by paragraphs (defined point for new line). I have created reusable part as the caption + text container and made collection from them, filled from list. It works fine,...