Re: [Xsltforms-support] case element in toggle, exception in last version - possible bug ?
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-08-17 20:29:30
|
Hi Ioan, > The following example (taken from > http://en.wikibooks.org/wiki/XForms/Storing_Tabs_in_the_Model ) worked > well in version 533: > > In version555, on loading show next alert: > >> XSLTForms Exception >> -------------------------- >> >> Error initializing : >> >> @http://localhost:8888/xsltforms/xsltforms.js:8887 >> xsltforms_initImpl@http://localhost:8888/probe/tabs-model.xhtml:54 >> xsltforms_init@http://localhost:8888/probe/tabs-model.xhtml:2 >> onload@http://localhost:8888/probe/tabs-model.xhtml:1 >> >> >> TypeError >> >> target is null > > After, also work well, change correct the value of tabs. When is > removed de case element from toggle, the message not appear. The XSLT transformation has been seriously improved for performance in recent revisions and the case element was still not correctly supported. This is now fixed and will be committed as soon as possible. > Would be possible, instead, to use case as attribute in toggle > element, with AVT, in the near future? Or caseref from switch (XForms > 2.0)? AVT is now supported by XSLTForms but just for host language (HTML, SVG) attributes. switch/@caseref is not yet supported and, even though it is interesting, it is not currently considered as a priority. Thanks! -Alain |