Re: [Xsltforms-support] xf:setvalue/@ev:event="xforms-enabled" not working
Brought to you by:
alain-couthures
From: Eric v. d. V. <vd...@dy...> - 2013-09-06 14:30:24
|
Hi Alain, Le vendredi 06 septembre 2013 à 15:42 +0200, Alain Couthures a écrit : .../... > This inconsistency is clearly disturbing with XSLTForms because events > are fired only after the form being ready. > > What do you think? That would explain it but. Re-reading the implementation I think that you are right and that implementations do not have to fire events to the controls before xforms-ready and thus do not have to initially tell them if they are enabled or not. This seems like a design flaw to me (controls do not have any easy way to determine their initial status) and Orbeon Forms does send these events! If that's a case I must find a workaround (probably embedding the controls in a group which is initially invalid to be sure of their initial status, make this group valid and dispatch an xforms-refresh to get their actual statuses). I'll keep you updated on my progress! Thanks, Eric > > Thanks! > > -Alain > > |