Explorar el Código

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

sunyj hace 8 años
padre
commit
744ee2660b
Se han modificado 1 ficheros con 12 adiciones y 2 borrados
  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"/>