How do you test whether your VL Web page is running inside of the LANSA Mobile container or not.
I can't find this in the doco....
Thanks,
Paul
LANSA Mobile Container Testing [SOLVED]
-
JamesDuignan
- Posts: 85
- Joined: Thu Nov 26, 2015 1:43 pm
Re: LANSA Mobile Container Testing
Hi Paul,
There is no RDML implementation to check if the application is being run inside of LANSA Mobile.
What I have done previously is use the initialize event from the xdevice* widgets to set a property to say I am inside LANSA Mobile, as they will only initialize if it can access the LANSA Mobile(LongRange) API's.
Regards,
James
There is no RDML implementation to check if the application is being run inside of LANSA Mobile.
What I have done previously is use the initialize event from the xdevice* widgets to set a property to say I am inside LANSA Mobile, as they will only initialize if it can access the LANSA Mobile(LongRange) API's.
Regards,
James
Re: LANSA Mobile Container Testing
James,
A little kludgy, but it does seem to work OK.
It goes without saying...it would be nice to have this be a property of #SYS_WEB or something like that.
Low priority as long as we know how to do it. Works like a champ.
In this case I really need to know if I am in or out of the container because certain things work differently (not so much browser or platform or OS detection).
Thanks,
Paul
A little kludgy, but it does seem to work OK.
It goes without saying...it would be nice to have this be a property of #SYS_WEB or something like that.
Low priority as long as we know how to do it. Works like a champ.
In this case I really need to know if I am in or out of the container because certain things work differently (not so much browser or platform or OS detection).
Thanks,
Paul