Procházet zdrojové kódy

Modify the map rule for parsing titletext and titlestyle in form and grid

sunyj před 8 roky
rodič
revize
744ee2660b
1 změnil soubory, kde provedl 12 přidání a 2 odebrání
  1. 12 2
      kanban-console/src/main/resources/map-rule.xsl

+ 12 - 2
kanban-console/src/main/resources/map-rule.xsl

@@ -10,7 +10,12 @@
                     <type>form</type>
                     <config>
                         <header>
-                            <xsl:value-of select="@title"/>
+                            <text>
+                                <xsl:value-of select="@titletext"/>
+                            </text>
+                            <style>
+                                <xsl:value-of select="@titlestyle"/>
+                            </style>
                         </header>
                         <fieldStyle>
                             <xsl:value-of select="@fieldstyle"/>
@@ -58,7 +63,12 @@
                     <type>table</type>
                     <config>
                         <title>
-                            <xsl:value-of select="@title"/>
+                            <text>
+                                <xsl:value-of select="@titletext"/>
+                            </text>
+                            <style>
+                                <xsl:value-of select="@titlestyle"/>
+                            </style>
                         </title>
                         <render>
                             <xsl:value-of select="@allrender"/>