Hello Javier,

Because this new parameter is not the last one when @if, @while or @iterate are provided, every function call needs it.

I have updated these 3 function calls.

Thanks a lot!

-Alain

Le 05/03/2015 08:58, Javier Díaz a écrit :
Hello,

I have noticed that in change r560, new parameter 'properties' was
included in javascript function 'XsltForms_dispatch', but in some
invocations no new parameter was added. Nothing fails to me, but i think
it should be corrected changing the following:

$ svn diff -x -ubw xsltforms.xsl
Index: xsltforms.xsl
===================================================================
--- xsltforms.xsl       (revisión: 610)
+++ xsltforms.xsl       (copia de trabajo)
@@ -4306,7 +4306,7 @@
                                                 <xsl:value-of
select="local-name()"/>
                                                 <xsl:text>",</xsl:text>
                                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@model"/></xsl:call-template>
-                                               <xsl:text>,</xsl:text>
+                                               <xsl:text>,null,</xsl:text>
                                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@if"/></xsl:call-template>
                                                 <xsl:text>,</xsl:text>
                                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@while"/></xsl:call-template>
@@ -4468,7 +4468,7 @@
                                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="$control"/></xsl:call-template>
                                         </xsl:otherwise>
                                 </xsl:choose>
-                               <xsl:text>,</xsl:text>
+                               <xsl:text>,null,</xsl:text>
                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@if"/></xsl:call-template>
                                 <xsl:text>,</xsl:text>
                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@while"/></xsl:call-template>
@@ -4867,7 +4867,7 @@
                                 <xsl:value-of select="$vn_subform"/>
                                 <xsl:text>,"xforms-submit",</xsl:text>
                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@submission"/></xsl:call-template>
-                               <xsl:text>,</xsl:text>
+                               <xsl:text>,null,</xsl:text>
                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@if"/></xsl:call-template>
                                 <xsl:text>,</xsl:text>
                                 <xsl:call-template
name="toScriptParam"><xsl:with-param name="p"
select="@while"/></xsl:call-template>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/


_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to