Informative browser tabs with VLF-ONE?
Informative browser tabs with VLF-ONE?
How do we create better tabs for VLF-ONE single page apps? Seems like the meta tags are the answer, with variable values that can be set as the single-page app changes state with the menu/business object selections, etc.
- Attachments
-
- 2018-02-04_0524.png (70.14 KiB) Viewed 11568 times
-
- 2018-02-04_0523.png (94.47 KiB) Viewed 11568 times
Re: Informative browser tabs with VLF-ONE?
There seems to be quite a bit on the web about dynamically changing favicons - e.g. https://codepad.co/snippet/vyf66YgM
So I guess you could create a non-visual VL-Web widget to do that - though you might get some browser incompatibilities.
Such a solution would also apply to VL-Web in general.
So I guess you could create a non-visual VL-Web widget to do that - though you might get some browser incompatibilities.
Such a solution would also apply to VL-Web in general.
-
dannyoorburg
- Posts: 177
- Joined: Mon Jan 04, 2016 9:50 am
- Location: Australia
Re: Informative browser tabs with VLF-ONE?
Hi,
you can just change Icon and Caption in RDMLX.
Cheers,
Danny
you can just change Icon and Caption in RDMLX.
Code: Select all
#SYS_WEB.WebPage.Icon <= #xImageEmail32
#SYS_WEB.WebPage.Caption := "Email Us"Danny
Re: Informative browser tabs with VLF-ONE?
Thanks Danny!
I'm digging through the various v14 guides and can find nothing that tells me about the properties for the #SYS_WEB.WebPage
What other things and the web page in VLF-ONE might we be able to influence in a similar manner?
I'm digging through the various v14 guides and can find nothing that tells me about the properties for the #SYS_WEB.WebPage
What other things and the web page in VLF-ONE might we be able to influence in a similar manner?
-
dannyoorburg
- Posts: 177
- Joined: Mon Jan 04, 2016 9:50 am
- Location: Australia
Re: Informative browser tabs with VLF-ONE?
Glad I could have been of help...
#SYS_WEB.WebPage is just a reference to the Main Page that you can access from anywhere in your code.
It is of class #PRIM_WEB, which has all its features documented in:
http://docs.lansa.com/14/en/lansa016/prim_web.htm
You can find a lot of help on LANSA classes and their features just by using the HELP on the context menu....
Or you start at the root and learn about ALL classes and their features
http://docs.lansa.com/14/en/lansa016/index.htm
Cheers,
Danny
#SYS_WEB.WebPage is just a reference to the Main Page that you can access from anywhere in your code.
It is of class #PRIM_WEB, which has all its features documented in:
http://docs.lansa.com/14/en/lansa016/prim_web.htm
You can find a lot of help on LANSA classes and their features just by using the HELP on the context menu....
Or you start at the root and learn about ALL classes and their features
http://docs.lansa.com/14/en/lansa016/index.htm
Cheers,
Danny
Re: Informative browser tabs with VLF-ONE?
Good link. Thanks.dannyoorburg wrote: Mon Feb 12, 2018 9:36 am Or you start at the root and learn about ALL classes and their features![]()
http://docs.lansa.com/14/en/lansa016/index.htm
Cheers,
Danny
Art Tostaine