Skip to main content Skip to complementary content

HTML resources

Availability-noteDeprecated

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!