HTML resources - Cloud - 8.0

Talend Data Fabric Studio User Guide

Version
Cloud
8.0
Language
English (United States)
EnrichDitaval
Data Fabric
Product
Talend Data Fabric
Module
Talend Studio
Content
Design and Development

About this task

If you have Cascading Style Sheets (CSS) and JavaScript resources, they need to be URL-addressable.

Procedure

  1. Create a directory in <TomcatPath>/webapps/; call it product for instance.
  2. Drop your CSS and JS files in the directory.
  3. You can now define your resources in the <head> section of the XSLT parameters in the Process editor as follows:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">  
        <xsl:output method="html" indent="yes"/>  
        <xsl:template match="/" priority="1"> 
            <html> 
    <head>
    <title>Product</title>
    <link rel="stylesheet" type="text/css" href="/product/greatlookandfeel.css"
    media="all">
    <script type="text/javascript" src="/product/javascriptsuff.js"></script>
    </head>
    <!-- rest omitted -->