Re: [Xsltforms-support] setindex issue
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-01-06 13:52:34
|
Hi Stephen, This problem is due to XSLTForms not yet implementing deferred updates http://www.w3.org/TR/xforms11/#action-deferred-update-behavior Sorry, your proposed fix sounds more like a permissive workaround (this.element.node is not updated when out of range???)... Thanks! -Alain Le 06/01/2012 04:25, Stephen Cameron a écrit : > Futher to my last email > > this works better > > XsltForms_repeat.prototype.setIndex = function(index) { > if (this.index !== index) { > this.index = index; > if (this.index<= this.nodes.length&& this.nodes[index-1] ) { > XsltForms_globals.openAction(); > this.element.node = this.nodes[index-1]; > XsltForms_globals.addChange(this); > > XsltForms_globals.addChange(document.getElementById(XsltForms_browser.getMeta(this.element.node.ownerDocument.documentElement, > "model")).xfElement); > XsltForms_globals.closeAction(); > } > } > }; > > :) > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |