/ext

Copy the server page layout definition to an external file.

/ext

Use With

Description

Use the /ext sub-switch when compiling a static or dynamic server page to save the layout definition to an external file with name ServerPageName.hts (also known as the HTML skeleton file. External layout definitions enable you to maintain the layout in a third-party tool, or to incorporate the standards and templates for your web site without having to do so in the IDE.

By default, /ext generates .hts files in your working directory. At runtime, Uniface can use this file to supply the server page layout, instead of the internally-defined layout.

There are several ways to instruct Uniface to use the external layout, depending on the type of server page. For more information, see External Web Layout Definitions.

One way is to delete the internal layout after having generated an external layout file using /ext.

Caution: If you use /ext after deleting the internal server page layout, the existing .hts file is overwritten with the empty layout.

Related Topics