16.1 Additional Resources

Any resources added on the Integration tab will be included in the generated HTML for the Web Page and therefore can be referenced in the application. In example xDemoWebGoogleFonts a set of scripts corresponding to font families is added to the integration tab.

When the Web Page is compiled the HTML generated includes these references:

<body style="height:100%; margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px">

      <script src="/%{lansa_webalias}%/lansa_14_1_0_0/lansa.js"></script>

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lato">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Raleway">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Montserrat">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lobster">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Play">

      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto">

      <script>

 

This means that when the Style Sheet is referenced in the runtime code, the appropriate style can be applied using the provided script.