Hi,
I have created several web pages with Visual LANSA - each one for different purposes. Now I want to combine them and create one application in which it shall possible to change between the web pages. Application should run with a top navigation bar and every icon or button in the navigation bar shall open another web page - but without leaving the active window. How can this be done? And what has to be done that all web pages are running in the same session?
That means: one central login is activating the session for all web pages and service modules of all my web pages.
Many thanks in advance,
Joerg
Several Web Pages in one application
-
Joerg Hamacher
- Posts: 124
- Joined: Thu Feb 11, 2016 12:01 am
Re: Several Web Pages in one application
The option that I would use is to make (a copy of) the code in those webpages into new views, basically just replace the first line after copy:
for
then I will create a new Web page that will encompass all those new views using a View container and change all server modules to use the same value for session identifier:
Code: Select all
Begin_Com Role(*EXTENDS #PRIM_WEB) Code: Select all
Begin_Com Role(*EXTENDS #PRIM_VIEW) Code: Select all
Sessionidentifier('xxxSESSION')-
Joerg Hamacher
- Posts: 124
- Joined: Thu Feb 11, 2016 12:01 am
Re: Several Web Pages in one application
Thank you, Dino!
Does this work too if I use views in my web pages? Can I work with views inside of views?
Best regards,
Joerg
Does this work too if I use views in my web pages? Can I work with views inside of views?
Best regards,
Joerg
Re: Several Web Pages in one application
Seems to be working fine...
I copied web pages created with the wizards (which have view containers inside) and copy to views.
then I used a view container in a new webpage and drag and drop those new views from the repository.
they work fine, you can navigate in each one, etc.
session may need some fine adjustment in the calls to signin dialog, etc.
I copied web pages created with the wizards (which have view containers inside) and copy to views.
then I used a view container in a new webpage and drag and drop those new views from the repository.
they work fine, you can navigate in each one, etc.
session may need some fine adjustment in the calls to signin dialog, etc.
-
Joerg Hamacher
- Posts: 124
- Joined: Thu Feb 11, 2016 12:01 am
Re: Several Web Pages in one application
Hi Dino,
thank you very much again. I tried - and it works great!
Have a nice day
Joerg
thank you very much again. I tried - and it works great!
Have a nice day
Joerg