Search found 287 matches

by soa
Mon Aug 20, 2018 10:16 am
Forum: Questions & Answers
Topic: base64
Replies: 3
Views: 1535

Re: base64

Thanks Tony
by soa
Sat Aug 18, 2018 4:03 pm
Forum: Questions & Answers
Topic: base64
Replies: 3
Views: 1535

base64

The jira api requires that I concat my username and a token and then base 64 encode it. Is this possible in LANSA?
by soa
Fri Aug 10, 2018 11:01 am
Forum: Questions & Answers
Topic: Record to be updated has been changed error
Replies: 5
Views: 1816

Re: Record to be updated has been changed error

Sounds like a support issue to me.
by soa
Fri Aug 03, 2018 11:06 am
Forum: Questions & Answers
Topic: Re-Captch Using V13
Replies: 4
Views: 1190

Re: Re-Captch Using V13

I can't help you with WAMs but I believe that you can create user defined widgets implmenting HTML elements and javascript. In which case you need include <script src='https://www.google.com/recaptcha/api.js'></script> and <div class="g-recaptcha" data-sitekey="yoursitekey"></div> and <script type="...
by soa
Thu Aug 02, 2018 3:56 pm
Forum: Questions & Answers
Topic: Re-Captch Using V13
Replies: 4
Views: 1190

Re: Re-Captch Using V13

Which product are you using. WEBEVENT, WAM..?
by soa
Wed Aug 01, 2018 3:57 pm
Forum: Questions & Answers
Topic: Control allowed characters (DBCS/SBCS) for PRIM_MD.Edit field
Replies: 7
Views: 1883

Re: Control allowed characters (DBCS/SBCS) for PRIM_MD.Edit field

James How would you dynamically create and destroy an Editfield. Is this then associated with the PRIM_MD.Edit field? Character by character filtering is fine on the web but if the application is running on a mobile device you want the correct keyboard to pop-up. ie if a field should be numeric then...
by soa
Thu Jul 19, 2018 11:17 am
Forum: Suggestions for Product Enhancements
Topic: Debugging improvements
Replies: 2
Views: 8493

Debugging improvements

When debugging RDMLX function I am almost always interested in the contents of #IO$STS. At the moment it is listed alphabetically with the other fields but since it is a 'special' value that is always present it would be convenient if it were permanently pinned in one location. This way I wouldn't a...
by soa
Thu Jul 19, 2018 11:00 am
Forum: Suggestions for Product Enhancements
Topic: Reusable Part Definitions
Replies: 0
Views: 7975

Reusable Part Definitions

When build a data model for a VL Web application I often find myself needing to create collections eg course list (CourseId, CourseName, Value). This requires creating a separate RP so I can create a <collection> of them. More often than not they have zero reuse potential but they end up cluttering ...
by soa
Wed Jul 11, 2018 9:45 am
Forum: Questions & Answers
Topic: Server Module Session Handling VLWEB Part 2
Replies: 2
Views: 937

Re: Server Module Session Handling VLWEB Part 2

James Thanks for the response. Firstly, the ABORT command has MSG parameters for the precise purpose of providing information to the caller. In the iSeries world this would be written to the job log and would be available in the caller via the GET_MESSAGE BIF. I'm using the ABORT as you said is to s...
by soa
Tue Jul 10, 2018 2:40 pm
Forum: Questions & Answers
Topic: Server Module Session Handling VLWEB Part 2
Replies: 2
Views: 937

Server Module Session Handling VLWEB Part 2

I've got session handling Fail trapping working by supplying a value for #handled ie Evtroutine Handling(#LoadLangCentres.Failed) Reason(#REASON) Handled(#Handled) #Handled := True endroutine This is great for SESSIONINVALID but I'm trying to create a generic handler for SERVERERROR so in the above ...
by soa
Tue Jul 10, 2018 12:33 pm
Forum: Questions & Answers
Topic: Server Module Session Handling VLWEB
Replies: 2
Views: 810

Re: Server Module Session Handling VLWEB

Thanks James.
by soa
Tue Jul 10, 2018 11:12 am
Forum: Questions & Answers
Topic: Server Module Session Handling VLWEB
Replies: 2
Views: 810

Server Module Session Handling VLWEB

I've set up a server module routine to issue a startsession and a second one to specify Session(*Required). If I call the second routine after a successful start session call it all works fine. If I remove the startsession call to test what happens if the session is not there I'm getting javascript ...
by soa
Tue Jul 10, 2018 8:28 am
Forum: Questions & Answers
Topic: List Positioning
Replies: 3
Views: 1138

Re: List Positioning

I'll give that a go. Thanks!
by soa
Fri Jul 06, 2018 2:31 pm
Forum: Questions & Answers
Topic: List Positioning
Replies: 3
Views: 1138

List Positioning

I have a view which contains a PRIM_TREE<xx>. Each time I show the page I clear and reload the tree. The tree contents is longer than the display area so I can scroll down to see more content. What I find is that if I scroll down the page then move to another view when I display the tree page again ...
by soa
Wed Jul 04, 2018 3:44 pm
Forum: Tips and Techniques
Topic: Accessing views and the main page from anywhere in an app using Scope(*APPLICATION)
Replies: 2
Views: 8935

Re: Accessing views and the main page from anywhere in an app using Scope(*APPLICATION)

This is a good tip Danny. Although re-usability is a good thing I find that RPs such as Views are very specific to a web application and this technique is clear and simple in use.
by soa
Tue Jul 03, 2018 4:17 pm
Forum: Questions & Answers
Topic: xDeviceFileWrite and VLWEB SP2
Replies: 1
Views: 835

xDeviceFileWrite and VLWEB SP2

I've asked this question before but I can't seem to find the thread. I'm sure there was something in there about SP2 facilities. I have a Server module which returns a list of images as BLOBs. I want to show them in a HTML Container. My application is running on an ipad within Longrange. I think I s...
by soa
Wed Jun 27, 2018 12:40 pm
Forum: Questions & Answers
Topic: Accessing MD List field values
Replies: 2
Views: 734

Re: Accessing MD List field values

Thank you

get_entry number(#lItem.Entry)

was exactly what I was after!

Jim
by soa
Tue Jun 26, 2018 5:36 pm
Forum: Questions & Answers
Topic: Accessing MD List field values
Replies: 2
Views: 734

Accessing MD List field values

I'm iterating through the items in a MD List -see below I want to set the drawstyle based on the list content but I don't know how to extract the value For Each(#l) In(#List.Items) #wrk9n0 += 1 If Cond(#wrk9n0.Mod( 2 ) = 0) #l.ThemeDrawStyle := 'AlternateItem' Else #l.ThemeDrawStyle := '' Endif Endf...
by soa
Mon Jun 18, 2018 9:55 am
Forum: Questions & Answers
Topic: WLWEB in Longrange Webview
Replies: 2
Views: 921

Re: WLWEB in Longrange Webview

Thanks Tony. It was my fault - I'd left the fit to width off my appbar in the layout.

Sorry to bother you guys but thanks for the help.
by soa
Fri Jun 15, 2018 6:46 pm
Forum: Questions & Answers
Topic: WLWEB in Longrange Webview
Replies: 2
Views: 921

WLWEB in Longrange Webview

We are presenting a VLWEB inside a whitebox longrange app. The longrange page has a webview occupying the entire client area and then we set the url to the VLWEB app. This works fine but if you swipe your finger left or right the web page moves over exposing blank space and then bouncing back. I've ...