How can I avoid showing the function name as the window title for my Web application?
| Date: | 15 April 2004 |
|---|---|
| Product/Release: | LANSA for the Web |
| Abstract: | How to avoid showing the function name as the window title for my Web application |
| Submitted By: | LANSA Technical Support |
| Last Review: | November 2010 |
Question:
When we execute an application as a browser application, the function name appears as the window title by default. I am required to manually change the generated HTML to change this. How can I avoid having the function name appear on the browser appear on the title bar without having to manually change the generated HTML?
Answer:
The following line in LANSA skeletons causes the function name to appear as the Window Title:
%W3TTL
By default, the member WEBSKEL in DC@F28 is used to as a skeleton to generate HTML pages when a particular function is compile to produce HTML source. In a case where a process specific skeleton exists as a member in the file DC@W22, the process specific skeleton will be used.
Removing the directive %W3TTL from the appropriate skeleton and compiling to generate the HTML will cause the function name not to appear as the Window title.