Benoit VINCENT
2014-05-06 16:53:43 UTC
Hi Alain,
It's me again. Now I have trouble with <xf:upload/> control in r595 on
FFox and Chrome.
A)
When I use it I get an "Error" alert.
I found that this message come from the
"XsltForms_binding.prototype.bind_evaluate()" function introduced since
the r576 to replace "XsltForms_binding.prototype.evaluate()".
I'm afraid you forgot to change "evaluate()" to "bind_evaluate()" in
<xf:upload/> control in "XsltForms_upload.prototype.directclick()" and
"XsltForms_upload.prototype.change()".
B)
After I made this change in my code, my forms works again but I steal
have a small problem on the <xf:filename/> element :
<xf:upload ref="content">
<xf:filename ref="@name"/>
</xf:upload>
The xf:filename/@ref seems not relative to the xf:upload/@ref like
before the r576. For now I use absolute xpath :
<xf:upload ref="content">
<xf:filename ref="instance("ins_doc")/content/@name"/>
</xf:upload>
and it works. Have you any idea on these problems?
Thank's for your help.
Benoit
It's me again. Now I have trouble with <xf:upload/> control in r595 on
FFox and Chrome.
A)
When I use it I get an "Error" alert.
I found that this message come from the
"XsltForms_binding.prototype.bind_evaluate()" function introduced since
the r576 to replace "XsltForms_binding.prototype.evaluate()".
I'm afraid you forgot to change "evaluate()" to "bind_evaluate()" in
<xf:upload/> control in "XsltForms_upload.prototype.directclick()" and
"XsltForms_upload.prototype.change()".
B)
After I made this change in my code, my forms works again but I steal
have a small problem on the <xf:filename/> element :
<xf:upload ref="content">
<xf:filename ref="@name"/>
</xf:upload>
The xf:filename/@ref seems not relative to the xf:upload/@ref like
before the r576. For now I use absolute xpath :
<xf:upload ref="content">
<xf:filename ref="instance("ins_doc")/content/@name"/>
</xf:upload>
and it works. Have you any idea on these problems?
Thank's for your help.
Benoit