Search found 317 matches

by soa
Tue Dec 03, 2019 8:30 am
Forum: Questions & Answers
Topic: Not really a question - PWAs
Replies: 2
Views: 98

Re: Not really a question - PWAs

Looking forward to whatever comes next!
by soa
Mon Dec 02, 2019 11:52 am
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 68

Re: Reading json in VL Web

Worked out of the box, exactly what I wanted. Thanks Danny. I'll share this with the team.
by soa
Fri Nov 29, 2019 4:40 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 68

Re: Reading json in VL Web

Big help Danny, thanks. Can you point me in the direction of some examples of use I need to extract values from a json string like the following. { "eformlist":[ { "Type":"SHWEX", "Code":"ONSTG", "EFID":"47", "EFIID":"4707" }, { "Type":"SHWEX", "Code":"ONSTI", "EFID":"48", "EFIID":"566" } ] }
by soa
Fri Nov 29, 2019 3:46 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 68

Reading json in VL Web

I need to read a json object in a VLWEB application.

XPRIM_RandomAccessJsonReader is not available on the web

This forum makes mention of #PRIM_JsonReader as native VLWEB component but my IDE tells me it can't be found.

How should I proceed?
by soa
Wed Nov 27, 2019 3:45 pm
Forum: Questions & Answers
Topic: Not really a question - PWAs
Replies: 2
Views: 98

Not really a question - PWAs

I've been talking up PWAs as the future of VLWEB for a while now and I noticed today that there has been a lot of activity in this area. Although Google/Chrome are the prime drivers in this area Microsoft have had a recent burst of activity. https://www.thurrott.com/cloud/microsoft-consumer-services...
by soa
Mon Nov 18, 2019 11:44 am
Forum: Questions & Answers
Topic: GoogleMaps
Replies: 2
Views: 102

Re: GoogleMaps

Thanks James
by soa
Thu Nov 14, 2019 5:56 pm
Forum: Questions & Answers
Topic: GoogleMaps
Replies: 2
Views: 102

GoogleMaps

We use a LongRange Map component which simply requires to set Street Area Country Locality properties to display a map of a location. Moving this app to VLWEB I find there is no equivalent component. A sample application uses a widget over google maps but this seems to require you to know the coordi...
by soa
Fri Nov 01, 2019 4:08 pm
Forum: Questions & Answers
Topic: Embed a Reusable Part in a 3rd Party Web Page
Replies: 2
Views: 69

Re: Embed a Reusable Part in a 3rd Party Web Page

OK I now have <div id="VLUPLOADER" style="position:relative;top:0px;left:0px;width:200px;height:45px;"></div> and this puts the control right where I want it. The issue is now is that when the page renders it seems to jump down to ensure that the newly rendered control is in focus which is a bit jar...
by soa
Fri Nov 01, 2019 3:53 pm
Forum: Questions & Answers
Topic: Embed a Reusable Part in a 3rd Party Web Page
Replies: 2
Views: 69

Re: Embed a Reusable Part in a 3rd Party Web Page

There's an issue with the DIV definition above. I've replaced it with <div id="VLUPLOADER" style="top:0px;left:0px;width:250px;height:80px;">Div goes here</div> The issue now is that I can see the phrase 'Div goes here' where I expect them but the upload control with icon flash briefly elsewhere in ...
by soa
Fri Nov 01, 2019 12:58 pm
Forum: Questions & Answers
Topic: Embed a Reusable Part in a 3rd Party Web Page
Replies: 2
Views: 69

Embed a Reusable Part in a 3rd Party Web Page

I have a simple RP a PRIM_PANL containing a FilePicker. The file picker has a logo and text. In a WEBEVENT fulction I have <div id="LANSAFrame" style="width:50px;height:50px;"> <script type="text/javascript"> var myPart = null; LANSA.init({sys:"dc-pgmlib",part:"V40",lang:{ def:"ENG",code: { "ENG":"e...
by soa
Wed Oct 23, 2019 9:05 am
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 26
Views: 715

Re: VL-IDE slow

I am experiencing poorer performance from the IDE over the last couple of release. Often typing a letter to start a command or variable name will cause a lockup of several seconds before it jumps back to life.
by soa
Wed Oct 23, 2019 8:31 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 267

Re: LANSA integrator, SOAP agent and SSl

You need to create PKI editor project. See documentation 7.16. Basically you need to create a project. Grab a copy of cacerts,jks from \jsm\instance\system and open it with a pk editor, insert your certificate and then put it back in \instance\system and then restart the instance.
by soa
Tue Oct 22, 2019 8:35 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 267

Re: LANSA integrator, SOAP agent and SSl

Lansa Integrator does not use the IBM Certificate Manager. You need to import the certificate in the cacerts.jks file. There is a project type for this,
by soa
Mon Oct 21, 2019 5:24 pm
Forum: Questions & Answers
Topic: Create Webpage with UTF8 content in WAM (RESOLVED)
Replies: 4
Views: 531

Re: Create Webpage with UTF8 content in WAM RESOLVED

With help of support I now know that this issue can be resolved by adding

#http1.Charset := 'utf-8'
by soa
Mon Oct 21, 2019 8:08 am
Forum: Questions & Answers
Topic: Create Webpage with UTF8 content in WAM (RESOLVED)
Replies: 4
Views: 531

Re: Create Webpage with UTF8 content in WAM

Thanks for the suggestion but I'm not trying to download a file I'm trying to display web content in the browser.
by soa
Fri Oct 18, 2019 12:20 pm
Forum: Questions & Answers
Topic: Create Webpage with UTF8 content in WAM (RESOLVED)
Replies: 4
Views: 531

Re: Create Webpage with UTF8 content in WAM

Addendum to above. If I remove the ContentType lansa creates a file call LANSAWEB (no extension). If I locate the downloaded file in on my PC and add an extension of html and then double click it it opens and displays exactly what I want to see. So I'm very close!
by soa
Fri Oct 18, 2019 12:15 pm
Forum: Questions & Answers
Topic: Create Webpage with UTF8 content in WAM (RESOLVED)
Replies: 4
Views: 531

Create Webpage with UTF8 content in WAM (RESOLVED)

I have a WAM with a Response(#http1) and I'm build a webpage containing UTF8 string (*NVARCHAR) I'm building the page #workutf8 := '<html><head>' ... #workutf8 += #ONXTX8 ... #workutf8 += '</body><html>' #MyFile.CreateTemporaryFile #MyFile.WriteAllText Text(#workutf8) #http1.ContentFile := #MyFile #...
by soa
Fri Oct 04, 2019 9:41 am
Forum: Questions & Answers
Topic: vlweb MD TabSheet
Replies: 2
Views: 177

Re: vlweb MD TabSheet

Thanks pablo. I've copied in code and sort of got it working but it looks me as if something is broken in the IDE tooling for this component since I can't get tabsheets to from the Controls tab. I think I'll give this a miss until e apply the next EPC where, hopefully, it is fixed. Unless someone kn...
by soa
Thu Oct 03, 2019 6:20 pm
Forum: Questions & Answers
Topic: vlweb MD TabSheet
Replies: 2
Views: 177

vlweb MD TabSheet

Can anyone explain to me how to use the Material Design TabSheet? When I select Tabs from the MD Controls List U can see 2 - 1 MD looking thing that says 'Three top aligned...' and ' 2. Standard Tab Control. When I drag the first one on to a form it just has captions and no tab body area. It has Tab...
by soa
Tue Oct 01, 2019 9:34 am
Forum: Questions & Answers
Topic: Arrays
Replies: 4
Views: 245

Re: Arrays

Thanks for the help guys!