cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r157119 - in cocoon/blocks/core/forms/trunk/samples: resources/forms-field-styling.xsl sitemap.xmap
Date Fri, 11 Mar 2005 17:28:13 GMT
Author: sylvain
Date: Fri Mar 11 09:28:12 2005
New Revision: 157119

URL: http://svn.apache.org/viewcvs?view=rev&rev=157119
Log:
Fix stylesheet for messages containing quotes, use the browser-provided locale

Modified:
    cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl
    cocoon/blocks/core/forms/trunk/samples/sitemap.xmap

Modified: cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl?view=diff&r1=157118&r2=157119
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl (original)
+++ cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl Fri Mar 11 09:28:12
2005
@@ -137,7 +137,7 @@
       |
       +-->
   <xsl:template match="fi:validation-message | fi:validation-error">
-    <a href="#" class="forms-validation-message" onclick="alert('{normalize-space(.)}');return
false;">&#160;!&#160;</a>
+    <a href="#" class="forms-validation-message" onclick='alert("{normalize-space(.)}");return
false;'>&#160;!&#160;</a>
   </xsl:template>
 
   <!--+

Modified: cocoon/blocks/core/forms/trunk/samples/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/sitemap.xmap?view=diff&r1=157118&r2=157119
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/sitemap.xmap (original)
+++ cocoon/blocks/core/forms/trunk/samples/sitemap.xmap Fri Mar 11 09:28:12 2005
@@ -132,13 +132,13 @@
          <map:parameter name="attribute-name" value="form1"/>
        </map:transform>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/form1_success.xsp"/>
        </map:call>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:transform src="resources/forms-samples-styling.xsl"/>
        <map:serialize/>
@@ -177,7 +177,7 @@
        <map:generate src="forms/{1}_template.xml"/>
        <map:transform type="forms" label="content1"/>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/{1}_template.xml"/>
@@ -192,7 +192,7 @@
      <map:match pattern="*-display-pipeline.jx">
        <map:generate type="jx" src="forms/{1}_template.xml" label="content1"/>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/{1}_template.xml"/>
@@ -264,7 +264,7 @@
      <map:match pattern="form2-success-pipeline">
        <map:generate src="forms/form2_data-result.xml"/>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:serialize type="xml"/>
      </map:match>
@@ -277,7 +277,7 @@
      <map:match pattern="form2bean-success-pipeline">
        <map:generate type="jx" src="forms/form2_jx.xml"/>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:serialize/>
      </map:match>
@@ -412,7 +412,7 @@
        <map:generate src="forms/htmlarea_template.xml"/>
        <map:transform type="forms"/>
        <map:transform type="i18n">
-         <map:parameter name="locale" value="en-US"/>
+         <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
        <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
          <map:parameter name="contextPath" value="{request:contextPath}"/>



Mime
View raw message