- From: Charles F Wiecha <wiecha@us.ibm.com>
- Date: Thu, 16 Jul 2009 11:43:05 -0400
- To: Joern Turner <joern.turner@googlemail.com>
- Cc: www-forms@w3.org, www-forms-request@w3.org
- Message-ID: <OF122D8566.8BD8CE6E-ON852575F5.0055965C-852575F5.00561995@us.ibm.com>
Hi Joern -- we discussed this test case recently in the WG (http://lists.w3.org/Archives/Public/public-forms/2009Jul/att-0003/2009-07-08.html) and would like to clarify that the events being handed in this case are not the selected/deselected events which as you point out are dispatched on the xf:case elements...rather, as a side-effect of becoming selected or deselected, the group inside each case will become enabled or disabled. Thus the test as written is handling those events correctly. Thanks, Charlie Wiecha From: Joern Turner <joern.turner@googlemail.com> To: www-forms@w3.org Date: 06/25/2009 06:38 AM Subject: Problem with test case 9.1.1.a2 Sent by: www-forms-request@w3.org Snippert from test case: <xforms:case id="in"> <xforms:group> <xforms:label>You are now in the In case</xforms:label> <xforms:message level="modal" ev:event="xforms-disabled">xforms-disabled</xforms:message> <xforms:message level="modal" ev:event="xforms-enabled">xforms-enabled</xforms:message> </xforms:group> <xforms:trigger ref="/yourname"> <xforms:label>Show Out Case</xforms:label> <xforms:toggle ev:event="DOMActivate" case="out"/> </xforms:trigger> </xforms:case> In the above snippet eventhandlers for xforms-disabled and xforms-enabled are attached to the group but the group is not the target of these events but the case element. The messages would never get triggered. Regards, Joern
Attachments
- image/gif attachment: graycol.gif
- image/gif attachment: ecblank.gif
Received on Thursday, 16 July 2009 15:43:48 UTC