Search found 280 matches

by soa
Fri Aug 23, 2019 7:16 pm
Forum: Questions & Answers
Topic: Widget Woes
Replies: 2
Views: 19

Re: Widget Woes

Doh!

Thanks Danny. When you're dealing with stuff your half understand you expect difficult problems not dumb ones!

Have a great weekend
by soa
Fri Aug 23, 2019 5:30 pm
Forum: Questions & Answers
Topic: Widget Woes
Replies: 2
Views: 19

Widget Woes

I'm trying to implement a widget around FushionCharts - a popular charting js library we've being using for years. I can get it to display something if put all the code in the onRealizeControl but that's not realistic for real world use. I have PROTOTYPE.onRealizeControl = function( parentDiv ) { pa...
by soa
Fri Aug 23, 2019 8:35 am
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 64

Re: VL WEb Browser Console Messsage

I wasn't sure whether the messages were coming from LANSA or not since it referenced lansa.js. The server module calls are definitely asynchronous although the times reported 175- 200+ ms are in line with what I expect the call to take. The server method in question is getting a couple of largelish ...
by soa
Thu Aug 22, 2019 6:36 pm
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 64

Re: VL WEb Browser Console Messsage

From the looks of my logging this looks like it happens when I make a server module call.

I don't know what makes that a violation though as 175ms seems pretty quick.
I'm also sometime seeing

[Violation] 'setTimeout' handler took 67ms
by soa
Thu Aug 22, 2019 4:06 pm
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 64

VL WEb Browser Console Messsage (RESOLVED)

I'm seeing message in the Chrome console

[Violation] 'readystatechange' handler took 175ms

lansa.js 12

What is that all about?
by soa
Fri Aug 09, 2019 11:02 am
Forum: Suggestions for Product Enhancements
Topic: Arrays
Replies: 1
Views: 58

Arrays

I've been using the LI ExcelService Recently and to populate the sheets body you need to specify either a working list or (for the RP version) a collection. If you use a working list you can create a two dimensional array by creating a bunch of fields and putting a DEF_ARRAY over them then putting t...
by soa
Tue Aug 06, 2019 8:54 am
Forum: Questions & Answers
Topic: Visual Style in Grid Cell (SOLVED)
Replies: 7
Views: 158

Re: Visual Style in Grid Cell (SOLVED)

Sorry, I assumed that you were in VL Web land. In This case I don't know if what you ant can be achieved.
by soa
Mon Aug 05, 2019 5:54 pm
Forum: Questions & Answers
Topic: Visual Style in Grid Cell (SOLVED)
Replies: 7
Views: 158

Re: Visual Style in Grid Cell (SOLVED)

You can use a reusable in a grid. I did it a couple of years back. If you search this forum, you should fine some sample code. You need to experiment to see what the performance is like before committing to it as it wasn't great then but a lot of work has been done in this area since.
by soa
Fri Aug 02, 2019 8:32 am
Forum: Questions & Answers
Topic: Visual Style in Grid Cell (SOLVED)
Replies: 7
Views: 158

Re: Visual Style in Grid Cell (SOLVED)

If you want to change the colour of a sub-string of text in a cell you could create a reusable part containing a html control then set the text colour using html eg 'Hello <span style="color:blue">world<span>
by soa
Tue Jul 23, 2019 3:08 pm
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 7
Views: 187

Re: Debugger Irritants

Danny

I certainly have a memory of seeing these issues resolved in an EPC but I have EPC142040 installed and these issues are still there.
by soa
Fri Jul 19, 2019 11:33 am
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 7
Views: 187

Debugger Irritants

A couple of things that drive me crazy everyday! When debugging WAMs right-cliking a variable name in the code does bring up the 'Show variable' in the popup menu like it does in other RDMLX functions forcing me to trawl through the variable list. In the list of debug variables anything with a field...
by soa
Wed Jul 03, 2019 2:37 pm
Forum: Questions & Answers
Topic: Retrieving API request body
Replies: 6
Views: 273

Re: Retrieving API request body

That's awesome In the example above [{"id":6378787,"test_session":221568,"test_item":368,"response":"\"1\"","full_response":"1","correct":false,"time_taken":49.3727610111237,"modified":false,"flags":0,"flags_detailed":"{}"}, I can't get the value "time_taken" I've tried asDecimal and asString and th...
by soa
Wed Jul 03, 2019 12:22 pm
Forum: Questions & Answers
Topic: XPRIM_HttpRequest
Replies: 1
Views: 120

XPRIM_HttpRequest

Hi I have the following code fragment #TempFile.CreateTemporaryFile #Request.Response.AsFile Autodelete(True) Path(#TempFile) #FileStream.Path := #TempFile Which all works beautifully but I've noticed my \tmp folder is filling up with files like QACXCAYX2M QACXCR5FHZ QACXC1W4KL QACXDCA0W2 QACXDKR36C...
by soa
Wed Jul 03, 2019 12:13 pm
Forum: Questions & Answers
Topic: Retrieving API request body
Replies: 6
Views: 273

Re: Retrieving API request body

Hi I have a piece of json that looks like [{"id":6378787,"test_session":221568,"test_item":368,"response":"\"1\"","full_response":"1","correct":false,"time_taken":49.3727610111237,"modified":false,"flags":0,"flags_detailed":"{}"},{"id":6379123,"test_session":221568,"test_item":3985,"response":"\"4\"...
by soa
Tue Jul 02, 2019 5:48 pm
Forum: Questions & Answers
Topic: VLWeb & Back button
Replies: 2
Views: 117

Re: VLWeb & Back button

Thanks Mark. That's exactly what I was looking for.

Chrome says 'Leaving Site?. Changes you made will not be saved.' Which is OK by me.
by soa
Tue Jul 02, 2019 4:07 pm
Forum: Questions & Answers
Topic: VLWeb & Back button
Replies: 2
Views: 117

VLWeb & Back button

There are websites which when yiu try to close them or navigate away using the back button display a message saying something like 'Are you sure yiu want to navigate away from this page, Is it possible to do this in VLWEB?
by soa
Fri Jun 28, 2019 9:10 am
Forum: Questions & Answers
Topic: SYS_APPLN.Idle
Replies: 0
Views: 73

SYS_APPLN.Idle

Hi, I'm using SYS_APPLN.Idle to terminate a sessions if there is no activity for a period. I have the option to start a timer to auto refresh the screen every 30 seconds. If this is on I don't want to timeout. The documentation refers IdleEnd being triggered by keyboard or mouse activity. Will it be...
by soa
Fri Jun 21, 2019 9:56 am
Forum: Questions & Answers
Topic: Retrieving element name from JSON Message
Replies: 4
Views: 255

Re: Retrieving element name from JSON Message

We don't have EPC142060 installed as it is not released but in another post I saw these declarations Define_Com Class(#PRIM_JSON.Document) Name(#lDocument) Define_Com Class(#PRIM_JSON.Object) Name(#lRequestObject) Reference(*DYNAMIC) Define_Com Class(#PRIM_JSON.Member) Name(#lRequestMember) Referenc...
by soa
Mon Jun 17, 2019 4:55 pm
Forum: Questions & Answers
Topic: Max number of files read in a folder by OV_FILE_SERVICE
Replies: 2
Views: 121

Re: Max number of files read in a folder by OV_FILE_SERVICE

From memory this is an RDML function which returns a working list do the maximum must be 9999.