Hi Alain,
Le vendredi 06 septembre 2013 à 16:30 +0200, Eric van der Vlist a
écrit :
> I'll keep you updated on my progress!
A solution should be to make sure controls are in a predicable state
when xforms-ready fires so that you can then track their status.
I have added an instance:
<xf:instance id="xfu-init">
<init xmlns="">false</init>
</xf:instance>
This instance is updated on xforms-ready:
<xf:action ev:event="xforms-ready">
<xf:setvalue ref="instance('xfu-init')">true</xf:setvalue>
<xf:recalculate></xf:recalculate>
<xf:refresh></xf:refresh>
</xf:action>
And all the controls are embedded in this group:
<xf:group ref=".[instance('xfu-init') = 'true']">
.../...
</xf:group>
For whatever reason, this group is never enabled!
I am testing with the build directory of your latest commit:
> commit a7879461945997de25c848aa64f538aa713741ab
> Author: Alain Couthures <[email protected]>
> Date: Fri Sep 13 14:31:12 2013 +0200
>
> Insertion of non-relevant node
>
> Signed-off-by: Alain Couthures <[email protected]>
(Complete repro:
http://xformsunit.org/trac/browser/sandbox/track-xforms-enable-disable-workaround.xhtml?rev=35d9c347f9a7e419cc44b306be99d147e33a4de5
)
Thanks,
Eric
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support