Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

標準スタイル・ウェブレットでニーズのほとんどに対処することができますが、独自のスタイル・ウェブレットを作成したい場合は作成することもできます。標準スタイル・ウェブレットはLANSAが提供するウェブレットやレイアウトを正しく操作するのに必要な機能を提供しています。カスタム・スタイル・ウェブレットの中ではこれを必ず呼び出すようにするか、以下の例に示すように、ウェブレットが標準スタイル・ウェブレットに沿って動くよう設計する必要があります。

Code Block
   <xsl:import href="std_style_v2.xsl" />

       <xsl:template name="my_style">

      <xsl:call-template name="style">

         <xsl:with-param name="theme_css_filename"/>

         <xsl:with-param name="css_files"/>

      </xsl:call-template>

             <!-- Custom style functionality here –>

   </xsl:template>

   <xsl:import href="std_style_v2.xsl" />

...