Re: [Xsltforms-support] Problem rev 485 on line 2459
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2011-02-24 17:57:09
|
Hi Grégoire, Sorry for this regression. Could you please test again with if (action.substr && action.substr(0,7) == "file://" && !document.applets["xsltforms"]) { Thanks! -Alain Le 24/02/2011 18:35, Grégoire COLBERT a écrit : > Hi Alain, > > Thank you for rev 485! :-) Though, I have the following error message > during initialization: > > /Error initializing : > > TypeError: Object #<a Binding> has no method 'substr' > at XFCoreElement.XFSubmission > (http://localhost:8080/xsltforms/branches/dataisland/build/xsltforms.js:2459:13)/ > > The problem is there: > > this.action = action; > if (*action.substr(0,7)* == "file://" && > !document.applets["xsltforms"]) { > Core.loadapplet(); > } > > My form looks like: > > <xf:model id="modele-connexion"> > <xf:submission id="some-id" method="get" serialization="none" > replace="instance" instance="id-for-the-response-instance"> > <xf:resource value="concat('/services/clients/connexion/' , > instance('instance-connexion-requete')/courriel , ':' , > instance('instance-connexion-requete')/hash-mot-de-passe)"/> > <xf:action ev:event="xforms-submit-done" > if="instance('instance-connexion-reponse')/clef != 0"> > (...) > </xf:action> > </xf:submission> > </xf:model> > > Hope this helps! > > Grégoire |