Re: [Xsltforms-support] Nested switch/case
Brought to you by:
alain-couthures
|
From: Klotz, L. <Lei...@xe...> - 2009-12-08 18:28:36
|
Just offhand, maybe
<group ref="instance('primary')/view[.='Special']">...</group>
Leigh.
________________________________
From: Jason Kleban [mailto:ja...@bi...]
Sent: Monday, December 07, 2009 10:13 PM
To: xsl...@li...
Subject: [Xsltforms-support] Nested switch/case
Hi,
Are nested switch/cases supported? It seems to me that they're not - no errors rendering but all cases are displayed.
If not, how can this behavior be emulated? Upon load, I have a <view /> field in my model that should dictate the display of some elements within a switch-paged form.
I've tried using <group ref="instance('primary')/[view = 'Special']" > ... </group> but this and variations results in a javascript error. (This is not within a repeat, but I've tried that too, just to try, but that didn't work either)
Thanks,
Jason
|