W3C home > Mailing lists > Public > www-forms-editor@w3.org > November 2007

[XForms 1.1] Questioning the iteration of certain actions (section 10.15)

From: Clark, John <CLARKJ2@ccf.org>
Date: Mon, 12 Nov 2007 14:59:56 -0500
Message-ID: <F122C25B4CD6F34BB119A97593679601027CF04D@CCHSCLEXMB59.cc.ad.cchs.net>
To: www-forms-editor@w3.org, www-forms@w3.org
To Whom It May Concern:

The XForms 1.1 Actions Module[0] supports iterated actions using the `while` attribute.  This attribute is allowed on any action element, but it seems that it is only useful on a subset of the possible action elements.  The `xf:message`[1] action "encapsulates a message to be displayed to the user"; it does not change the model, and so the `while` expression will remain true after each display of the message, causing an infinite loop.  It also might not make sense to allow the `while` attribute on the `xf:setfocus`, `xf:load`, `xf:rebuild`, `xf:recalculate`, `xf:refresh`, or `xf:revalidate` actions for essentially the same reason as in the case of `xf:message`, but I am less sure of those cases.

Should the specification disallow the use of the `while` attribute in these problematic cases?  If not, in what way is iteration useful in these cases?

Thank you for your consideration.

Sincerely,

    John L. Clark

[0] http://www.w3.org/TR/xforms11/#action

[1] http://www.w3.org/TR/xforms11/#action-message




P Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2007).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.
Received on Monday, 12 November 2007 20:01:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:16 GMT