Search found 27 matches

by sotos
Fri Nov 22, 2019 12:11 am
Forum: Questions & Answers
Topic: Http header list
Replies: 1
Views: 75

Http header list

Hello,

Is it possible to get the http-header list of the client http request from a webpage?
Specifically we are interested in the client's ip and user-agent.

best,
Sotiris
by sotos
Mon Sep 02, 2019 6:28 pm
Forum: Questions & Answers
Topic: KeyPress event is fired 2 times (SUPPORT ISSUE?)
Replies: 1
Views: 160

KeyPress event is fired 2 times (SUPPORT ISSUE?)

Hello, I have the following simple keyPress event in the web Evtroutine Handling(#PROFESSION_DD.KeyPress) #COM_OWNER.PrintConsole Label('Test') Text('') Endroutine where #PROFESSION_DD is a #PRIM_LIST.DropDown But when I run the program and I press any key the event fires 2 times instead of one !!! ...
by sotos
Wed Jun 05, 2019 11:41 pm
Forum: Questions & Answers
Topic: listen for a http post
Replies: 1
Views: 229

listen for a http post

We are doing an http post request (using XPRIM_HttpRequest) to a third party webserver sending some information. After this initial post the 3rd party webserver is supposed to sent us some information by making a post to our webserver through a url that we have already sent them with the first post ...
by sotos
Thu May 09, 2019 5:06 pm
Forum: Questions & Answers
Topic: CORS policy and HttpRequest
Replies: 4
Views: 426

Re: CORS policy and HttpRequest

Thanks for the reply,

No unfortunately I do not have any control over the destination server (which is about online payment).

Is there any work around?
What If I make the POST from the server using #XPRIM_HttpRequest or even INTEGRATOR?
by sotos
Thu May 09, 2019 4:40 pm
Forum: Questions & Answers
Topic: CORS policy and HttpRequest
Replies: 4
Views: 426

CORS policy and HttpRequest

Hello, I am trying to POST some content via #PRIM_WEB.HttpRequest to an external website which it is going to redirect from our webpage to another if there is a success. I receive the following answer from the browser: Access to XMLHttpRequest at 'https://-destination-' from origin 'https://-origin-...
by sotos
Tue May 07, 2019 4:27 pm
Forum: Questions & Answers
Topic: Discrepancy with AsString
Replies: 2
Views: 12099

Discrepancy with AsString

Hello, I have a decimal field named #WEBA_ORDERANOUNT with length 15 and 2 decimals. The problem is that #orderAmount.AsString and #WEBA_ORDERANOUNT.AsString gives different values i.e. (within a server module): Define_Com Class(#WEBA_ORDERANOUNT) Name(#orderAmount) #orderAmount = 0.20 #orderAmount....
by sotos
Tue Apr 09, 2019 4:40 pm
Forum: Questions & Answers
Topic: encoding & sha-1
Replies: 2
Views: 4835

Re: encoding & sha-1

thanks,

It is not a matter of uttermost urgency but we would certainly like to have this feature with the next EPC. I will contact my local lansa support.

best,
Sotiris
by sotos
Mon Apr 08, 2019 10:07 pm
Forum: Questions & Answers
Topic: encoding & sha-1
Replies: 2
Views: 4835

encoding & sha-1

Hello all, I need the following operations executed on a string on the order: result = base64(sha-1(utf8bytes(my_string) up to now I have discovered through LANSA RDML Extended Library the following: FromBase64String, AsBase64String and AsStringUsingUTF8, FromStringUsingUTF8 within type XPRIM_Binary...
by sotos
Fri Mar 22, 2019 6:33 pm
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 2252

Re: understanding events

Thank you all, it works now after following your instructions However now there is another problem that seems like a lansa bug. When I go back to reusable A, then scroll the list (without using the mouse wheel), at the time the mouse button is released the following appears: LANSA Runtime Error: Can...
by sotos
Thu Mar 21, 2019 9:14 pm
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 2252

understanding events

Hello, I have encountered the following problem: We have a web application based on lansas paradigm of signaling events for switching between reusables (panels). In a reusable let's say A I have a list and whenever I double click a row we want the application to switch to another panel (reusable) B ...
by sotos
Fri Feb 08, 2019 9:06 pm
Forum: Questions & Answers
Topic: Keeping the position of scroll bar in a list
Replies: 2
Views: 1548

Re: Keeping the position of scroll bar in a list

thanks,

that is exactly what I was looking for.

best,
Sotiris
by sotos
Thu Feb 07, 2019 6:59 pm
Forum: Questions & Answers
Topic: Keeping the position of scroll bar in a list
Replies: 2
Views: 1548

Keeping the position of scroll bar in a list

Hello everyone, I have a browse list. Each row has a button and some other fields. Each time I press the button the specific row is deleted from the list, the list refreshes and it shows again the 1st element. If I have many rows in the list each time I delete a row I have to scroll back to where I ...
by sotos
Tue Dec 18, 2018 7:11 pm
Forum: Questions & Answers
Topic: Caps Lock indicator?
Replies: 2
Views: 2778

Re: Caps Lock indicator?

thanks a lot!
by sotos
Thu Dec 13, 2018 10:06 pm
Forum: Questions & Answers
Topic: Caps Lock indicator?
Replies: 2
Views: 2778

Caps Lock indicator?

Hello,

Is there any way to find out whether the caps lock indicator is on?
This is useful for login screens.

regards,
Sotiris
by sotos
Fri Nov 23, 2018 6:07 pm
Forum: Questions & Answers
Topic: YYYYMMDD -> DDMMYYYY field for the web
Replies: 3
Views: 1370

Re: YYYYMMDD -> DDMMYYYY field for the web

Hi,

thanks,

I tried the following and worked:

#Date := #YYYYMMDD.AsString
#DDMMYYYY := (#Date.Substring( 7 2 ) + #Date.Substring( 5 2 ) + #Date.Substring( 1 4 )).AsNumber

but your solution seems much more efficient.

Sotiris
by sotos
Thu Nov 22, 2018 9:40 pm
Forum: Questions & Answers
Topic: YYYYMMDD -> DDMMYYYY field for the web
Replies: 3
Views: 1370

YYYYMMDD -> DDMMYYYY field for the web

Hello,

is there any straight forward way from YYYYMMDD to DDMMYYYY field for the web as in "Use Builtin(FINDDATE) With_Args..." ?

best,
Sotiris
by sotos
Fri Nov 02, 2018 5:54 pm
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 2207

Re: Deploy on android and ios?

Thanks for clarifying,

because I got a different impression after reading this:
https://www.lansa.com/products/mobile-a ... atform.htm

best,
sotiris
by sotos
Fri Nov 02, 2018 12:03 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 2207

Deploy on android and ios?

Hello, I would like to know whether it is possible to implement and deploy a stand alone application in mobile devices with visual lansa. Not talking about a web application rather whether lansa deploys both in android (.apk) and ios (.ipa) so that can be uploaded to the play and app store respectiv...
by sotos
Wed Oct 10, 2018 11:37 pm
Forum: Questions & Answers
Topic: TabFolder undock panel
Replies: 0
Views: 3088

TabFolder undock panel

Hello, I have the following issue with the TabFolder component. I have a TabFolder component with a couple of sheets that allow them to undock. When the sheet is undocked a popup panel appears. I can dock the popup panel by double clicking on the panel bar. I would like also to: 1. be able to dock t...
by sotos
Mon Sep 24, 2018 11:12 pm
Forum: Questions & Answers
Topic: How to get a PRIM_LIST with a property
Replies: 1
Views: 772

How to get a PRIM_LIST with a property

Hello, I would like to know how to pass a PRIM_LIST with a property (or is there another way) and fill it from a reusable to another e.g. In the 1st reusable (#WEBx_C_INFO_PL) I define a list: Define_Com Class(#PRIM_LIST) Name(#POLLST) Displayposition(2) Left(0) Parent(#ListPanel) Tabposition(2) Top...