Search found 31 matches

by sotos
Fri Feb 26, 2021 6:06 pm
Forum: Questions & Answers
Topic: Problem with Underline in 'PDFDocumentService'
Replies: 2
Views: 7252

Re: Problem with Underline in 'PDFDocumentService'

Hello,

thank you for your reply.

Yes it works now.
But I also noticed that "u" letter should be lowercase and not uppercase.
i.e. Underline -> underline (correct)

because in the documentation it is written as Underline

https://docs.lansa.com/14/en/lansa093/index.htm#lansa/intengb7_0975.htm ...
by sotos
Tue Feb 23, 2021 11:10 pm
Forum: Questions & Answers
Topic: Problem with Underline in 'PDFDocumentService'
Replies: 2
Views: 7252

Problem with Underline in 'PDFDocumentService'

Hello,

It seems that there is a problem with jsm service PDFDocumentService xml content.

Particularly we can't make Underline to work in the xml file.

For example in the xml file there is the following:


<text x1="100" y1="220" width="70" value="test test" height="15" style="normalC" align ...
by sotos
Tue Jan 05, 2021 6:37 pm
Forum: Questions & Answers
Topic: JSON parser for the web
Replies: 1
Views: 5953

JSON parser for the web

Hello everyone,

Is there a JSON parser for the web?

I am aware of XPRIM_JsonObject and XPRIM_JsonArray but I would like to keep the JSON on the client side instead of sending it to the server.

best,
Sotiris
by sotos
Tue Jun 23, 2020 11:03 pm
Forum: Questions & Answers
Topic: Firefox does not save username and password
Replies: 1
Views: 13846

Firefox does not save username and password

Hello,

We experience the following problem with our application:

During the login stage and while we enter the username and password, the browser (which is Chrome) asks the user whether it wants to save the username and password. So far so good.

However if we switch browser (say firefox or Edge ...
by sotos
Fri Nov 22, 2019 12:11 am
Forum: Questions & Answers
Topic: Http header list
Replies: 1
Views: 4369

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: 5373

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 ...
by sotos
Wed Jun 05, 2019 11:41 pm
Forum: Questions & Answers
Topic: listen for a http post
Replies: 1
Views: 3439

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: 7755

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: 7755

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 ...
by sotos
Tue May 07, 2019 4:27 pm
Forum: Questions & Answers
Topic: Discrepancy with AsString
Replies: 2
Views: 18123

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 ...
by sotos
Tue Apr 09, 2019 4:40 pm
Forum: Questions & Answers
Topic: encoding & sha-1
Replies: 2
Views: 9067

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: 9067

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 ...
by sotos
Fri Mar 22, 2019 6:33 pm
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 9716

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 ...
by sotos
Thu Mar 21, 2019 9:14 pm
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 9716

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 ...
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: 6419

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: 6419

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: 8201

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: 8201

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: 7982

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: 7982

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