W3C home > Mailing lists > Public > www-forms@w3.org > July 2004

RE: use of relevance

From: Meghana <mmystore@hotmail.com>
Date: Wed, 21 Jul 2004 17:06:23 -0700
To: "'John Boyer'" <JBoyer@PureEdge.com>, <www-forms@w3.org>
Message-ID: <BAY2-DAV14CFGSWeuUU000b70fa@hotmail.com>
I wonder how xforms handles a case when a control becomes irrelevant based
on value of the instance data but the submission still needs to submit that
value. Or in that case we are not supposed to use relevance and use
something else? What is that other option?






From: John Boyer [mailto:JBoyer@PureEdge.com] 
Sent: Tuesday, July 20, 2004 11:55 AM
To: Meghana; www-forms@w3.org
Subject: RE: use of relevance


Hi Meghana,


The first one.  Relevance applies to instance nodes.  The relevant MIP is
then interpreted by both bound form controls and submission.



John Boyer

-----Original Message-----
From: Meghana [mailto:mmystore@hotmail.com]
Sent: Tuesday, July 20, 2004 10:39 AM
To: www-forms@w3.org
Subject: use of relevance



When a <Bind> element has relevance attribute, is it supposed to make the
bound element in the XForms model relevant or the bound control relevant? In
the former case, the control will see that the model is not relevant right
now and hide itself; also the submission will not include that value. In the
later case, the control is hidden but model still holds that value as valid
data. Which approach is correct?






Received on Wednesday, 21 July 2004 20:06:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:13 UTC