From 9053ef47d188773672f1eeda87b98ddcf7186aae Mon Sep 17 00:00:00 2001 From: Bilgin Ismet Ibryam Date: Sat, 21 Nov 2009 18:01:50 +0000 Subject: [PATCH] Used raw string literal to escape ${} chars in example labels. This fixes the error reported in user list. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882948 13f79535-47bb-0310-9956-ffa450edef68 --- framework/example/config/ExampleUiLabels.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/example/config/ExampleUiLabels.xml b/framework/example/config/ExampleUiLabels.xml index 88e37ad5ac..a9ede20c0e 100644 --- a/framework/example/config/ExampleUiLabels.xml +++ b/framework/example/config/ExampleUiLabels.xml @@ -99,8 +99,8 @@ 数据项11:带有缺省值的日期和时间选择 - Uses the \${date:dayStart(nowTimestamp, timeZone, locale)} UEL expression to set the default value to the start of today - 使用\${date:dayStart(nowTimestamp, timeZone, locale)}表达式来把缺省值设置为今天的开始时间 + Uses the \${r'${date:dayStart(nowTimestamp, timeZone, locale)}'} UEL expression to set the default value to the start of today + 使用\${r'${date:dayStart(nowTimestamp, timeZone, locale)}'}表达式来把缺省值设置为今天的开始时间 Field1: date and time selection field @@ -175,10 +175,10 @@ 数据项9:日期和时间选择带有缺省值 - Same as above, uses the \${groovy:...} notation to call an util method to get the now timestamp - La même chose mais utilise la notation \${groovy:...} pour appeler un méthode utilitaire pour obtenir l'heure du moment - Lo stesso di sopra, usare la notazione \${groovy:...} per eseguire un metodo di utilità per ottenere un nuovo timestamp - 同上,使用\${groovy:...}来调用一个应用方法来获得现在的时间戳 + Same as above, uses the \${r'${groovy:...}'} notation to call an util method to get the now timestamp + La même chose mais utilise la notation \${r'${groovy:...}'} pour appeler un méthode utilitaire pour obtenir l'heure du moment + Lo stesso di sopra, usare la notazione \${r'${groovy:...}'} per eseguire un metodo di utilità per ottenere un nuovo timestamp + 同上,使用\${r'${groovy:...}'}来调用一个应用方法来获得现在的时间戳 Date/Time fields