HTML resources - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29
Available in...

Data Fabric

MDM Platform

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 -->