Search found 66 matches

by JamesDuignan
Mon Dec 02, 2019 10:31 am
Forum: Questions & Answers
Topic: PRIM_MD.List selected entry
Replies: 1
Views: 63

Re: PRIM_MD.List selected entry

Hi, You need to have the currentitem property included in your setting and removing of the styles. This will ensure that the selection lost will remove the style from the appropriate entry and item click will add it to the newly selected one for example Evtroutine Handling(#List.ItemLostSelection) #...
by JamesDuignan
Fri Nov 15, 2019 9:24 am
Forum: Questions & Answers
Topic: GoogleMaps
Replies: 2
Views: 105

Re: GoogleMaps

Hi Jim,

Have a look at the EPC 142060 connectors in the package manager, one for Google geo-encode and decode was included.
See blog post on the developer site here:
https://developer.lansa.com/google-maps ... lications/


Regards,
James
by JamesDuignan
Wed Oct 16, 2019 11:11 am
Forum: Questions & Answers
Topic: Can I add an arbitrary parameter into LANSA Web plugin page? (RESOLVED)
Replies: 5
Views: 494

Re: Can I add an arbitrary parameter into LANSA Web plugin page?

Hi Taku, To add the parameters onto the url you will want to use the PRIM_WEB.history.add method. This allows you to add name value pairs to the url. https://docs.lansa.com/14/en/lansa016/prim_web.history_add.htm For example: Evtroutine Handling(#EmpList.ItemGotSelection) #SYS_WEB.History.Add( ("EMP...
by JamesDuignan
Thu Oct 10, 2019 11:46 am
Forum: Questions & Answers
Topic: Lansa Package Manager keys (RESOLVED)
Replies: 6
Views: 329

Re: Lansa Package Manager keys

Hi, Did the external resource get extracted on the server? Was there any indication on the webpage that there was missing components, for instance there was a js crash? Did the recaptcha box just show up blank? Did is contain any messaged? One object i forgot to mention would also need checking in i...
by JamesDuignan
Tue Oct 08, 2019 8:44 am
Forum: Questions & Answers
Topic: Lansa Package Manager keys (RESOLVED)
Replies: 6
Views: 329

Re: Lansa Package Manager keys

Hi Adrian, The file is called lansa_libs.config, this is located in the partition execute directory (...\x_win95\x_lansa\<x_prt>\execute). This can be copied to the IFS in the same relative location (.../ifs/lansa_<DEMPGMLIB>/x_lansa/<x_prt>/execute). Another thing to note is that only the base leve...
by JamesDuignan
Thu Sep 19, 2019 10:14 am
Forum: Questions & Answers
Topic: LANSA Mobile Container Testing [SOLVED]
Replies: 2
Views: 157

Re: LANSA Mobile Container Testing

Hi Paul, There is no RDML implementation to check if the application is being run inside of LANSA Mobile. What I have done previously is use the initialize event from the xdevice* widgets to set a property to say I am inside LANSA Mobile, as they will only initialize if it can access the LANSA Mobil...
by JamesDuignan
Fri Aug 30, 2019 10:21 am
Forum: Questions & Answers
Topic: Camera Control (SUPPORT ISSUE?)
Replies: 6
Views: 341

Re: Camera Control

Hi Art,

I don't have a camera on my PC to try this out.

But as your values are being ignored it might be worth shooting this off to support.

Regards,

James
by JamesDuignan
Wed Aug 28, 2019 10:02 am
Forum: Questions & Answers
Topic: Executing .bat files with special processing (RESOLVED)
Replies: 2
Views: 178

Re: Executing .bat files with special processing

Hi, Files with special processing is about creating files like shortcuts, it does not execute scripts. I know for version you can use the commands to execute. See: https://docs.lansa.com/14/en/lansa022/index.htm#lansa/dt_0115.htm%3FTocPath%3DLANSA%2520Application%2520Deployment%2520Tool%7C8.%2520Opt...
by JamesDuignan
Wed Aug 28, 2019 9:51 am
Forum: Questions & Answers
Topic: Camera Control (SUPPORT ISSUE?)
Replies: 6
Views: 341

Re: Camera Control

Hi Art, I have done the previously. A few considerations for I found for this are are: Setting it correctly to landscape or portrait mode, easiest way i have found is just do the height vs width of the web page to determine it. Secondly make sure you are setting the SetImageSize and SetImageBase64si...
by JamesDuignan
Tue Aug 27, 2019 9:21 am
Forum: Questions & Answers
Topic: VLWEb Dropdown Items (RESOLVED)
Replies: 4
Views: 228

Re: VLWEb Dropdown Items

Hi Jim,

Yes it is,

Code: Select all

#ddChartType.Items.Add( 'Some Item' 'This is the caption for some item' )
or

Code: Select all

#ddChartType.Items.Add Value( 'Some Item' ) Caption('This is the caption for some item' )
will set the value and caption in a single statement.

Regards,

James
by JamesDuignan
Tue Jul 23, 2019 4:51 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 558

Re: VL-web layout mobile

Hi Claus, if you are using a table layout on your webpage make the top and bottom rows units to be pixels and the content area to be proportion. for example: Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Layoutmanager(#LayoutMain) Define_Com Class(#PRIM_TBLO) Name(#LayoutM...
by JamesDuignan
Wed May 29, 2019 4:52 pm
Forum: Questions & Answers
Topic: Epoch timestamp (ISO 8601) from datetime in Lansa (solved)
Replies: 4
Views: 607

Re: Epoch timestamp (ISO 8601) from datetime in Lansa

Hi, To get this you would do a day difference between 1970-01-01 and today times this by 86400 for seconds then add on the seconds from midnight using the time as seconds intrinsic. it would look something like: #STD_INT := (#DateTimex.Now.Date.Difference( 1970-01-01 ) * 86400) + #DateTimex.Time.AsS...
by JamesDuignan
Mon Apr 15, 2019 8:54 am
Forum: Questions & Answers
Topic: Display Web page in popup
Replies: 3
Views: 8881

Re: Display Web page in popup

Hi Art,

I found this out because in Chrome the page in the frame says connection refused and in Firefox you get the following message in the console:
Console.PNG
Console.PNG (3.66 KiB) Viewed 8836 times
Regards,
James
by JamesDuignan
Fri Apr 12, 2019 11:47 am
Forum: Questions & Answers
Topic: Display Web page in popup
Replies: 3
Views: 8881

Re: Display Web page in popup

Hi Art, It looks as if UPS site does not allow it to be embedded in a page so the use of prim_web.page or prim_web.HTML to us an iFrame in a LANSA pop up or dialog are not suitable for this. But it can be achieved by sending the url to a widget to open a new popup window see attached. QuickExportArt...
by JamesDuignan
Thu Mar 28, 2019 10:46 am
Forum: Questions & Answers
Topic: Positioning Alert control
Replies: 4
Views: 4619

Re: Positioning Alert control

Hi Gyehyun, This is dependent on how you are laying out your content, but I suspect using a table layout with positioning to bottom center for the alert should display it at the bottom of the visible page and allow scrolling to of the other content without effecting the position of the alert itself....
by JamesDuignan
Wed Mar 27, 2019 10:46 am
Forum: Questions & Answers
Topic: Positioning Alert control
Replies: 4
Views: 4619

Re: Positioning Alert control

Hi, PRIM_MD.Alert controls are designed to have only 1 or 2 lines of text on them. They are realistically only for showing short messages which would be the action and the result, such a "File abc.docx upload successful" or "File abc.docx download Failed". This can be accompanied by a button to perf...
by JamesDuignan
Mon Feb 11, 2019 7:30 am
Forum: Questions & Answers
Topic: Double click on list can't show loading image
Replies: 8
Views: 2711

Re: Double click on list can't show loading image

Hi Art,

That was my bad, The second '#Panel.Image #VIEW.Image <= #sys_web.LoadingImage' should actually be #Panel.Image #VIEW.Image <= *null
Regards,
James
by JamesDuignan
Fri Feb 08, 2019 8:32 am
Forum: Questions & Answers
Topic: Double click on list can't show loading image
Replies: 8
Views: 2711

Re: Double click on list can't show loading image

Hi Art, To expand on what Danny was saying, if your list is not directly defined on the web page i.e. in a view, panel or dialog. you should consider using the image property of the view/dialog/panel. This is what is happening in the SCRUDS. Also, as it has to be an ASYNC call to the server, you may...
by JamesDuignan
Thu Dec 20, 2018 1:20 pm
Forum: Questions & Answers
Topic: Remember popup position, grid column changes
Replies: 2
Views: 3533

Re: Remember popup position, grid column changes

Just to add, it is also important to consider the online/offline capabilities. If it is needed to be used offline as a big proponent of the application, then I would be considering using the local storage in one form or another. If not, then storing it on the server gives you the versatility aspect ...
by JamesDuignan
Mon Dec 17, 2018 11:29 am
Forum: Questions & Answers
Topic: Caps Lock indicator?
Replies: 2
Views: 2778

Re: Caps Lock indicator?

Hi Soritos, The easiest method to do this would be putting some simple logic into the keypress event of a the input field. The checks are something like 1. If shift is down and the character is lowercase caps lock is on. 2. If shift isn't down and character is uppercase caps lock is on. 3. If shift ...