瀏覽代碼

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

sunyj 8 年之前
父節點
當前提交
744ee2660b
共有 1 個文件被更改,包括 12 次插入2 次删除
  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"/>