- From: Klotz, Leigh <Leigh.Klotz@pahv.xerox.com>
- Date: Tue, 8 Oct 2002 14:46:36 -0700
- To: "'Mikko Honkala'" <honkkis@tml.hut.fi>, "Klotz, Leigh" <Leigh.Klotz@pahv.xerox.com>
- Cc: "'Tomayko, Ryan'" <Ryan_Tomayko@stercomm.com>, "'www-forms@w3.org'" <www-forms@w3.org>
I'm happy to have gotten that calculate->readonly for UI controls settled in this thread. Now, as far as "MUST not be possible" does that mean that DOM access using the get-instance interface must prevent it? -----Original Message----- From: Mikko Honkala [mailto:honkkis@tml.hut.fi] Sent: Tuesday, October 08, 2002 4:04 AM To: Klotz, Leigh Cc: 'Tomayko, Ryan'; 'www-forms@w3.org' Subject: Re: readonly and setvalue Hi Leigh, I remembered that we agreed that calculate implies readonly. But if we put it that way: "calculated nodes are not settable by form controls or setvalue.", then I agree, calculate would still work. We might want to be future-proof, and say: "It MUST not be possible to set calculated nodes by any other means than the calculate itself". In addition "Form controls bound to calculated nodes SHOULD be rendered as they were bound to readonly nodes." -mikko Klotz, Leigh wrote: > I'm confused -- do you mean something like this, which I copied from the > X-Smile 0.6 examples? > <bind nodeset="/purchaseOrder/totals/subtotal" > calculate="sum(../../items/item/total)"/> > If so, I don't believe you also need a > <bind nodeset="/purchaseOrder/totals/subtotal" readonly="true()"/> > > I think we've agreed that calculated nodes are not settable by form controls > or setvalue. > > -----Original Message----- > From: Tomayko, Ryan [mailto:Ryan_Tomayko@stercomm.com] > Sent: Monday, October 07, 2002 12:54 AM > To: Jérôme Nègre; Micah Dubinko > Cc: 'bhanu'; www-forms@w3.org > Subject: RE: readonly and setvalue > > > > Another example of why you would want readonly only to apply to the UI is > calculating values. For instance, you my want to display a list of product > line items and allow the user to input the quantity and unit price for each. > The line total would be readonly and calculated based on the quantity * unit > price. > > - Ryan Tomayko > > > -----Original Message----- > From: Jérôme Nègre [mailto:jerome.negre@e-xmlmedia.fr] > Sent: Monday, October 07, 2002 3:07 AM > To: Micah Dubinko > Cc: 'bhanu'; www-forms@w3.org > Subject: Re: readonly and setvalue > > > > Hi, > > >>Good question! Does 'readonly' mean readonly-to-user, or >>readonly-to-everything? >> >>Implementers, how did you handle this? > > > Here, for XFE, we chose readonly-to-user. That way, one can have a > select or a range showing data without the possibility for the user to > change it. > > Regards, > Jérôme
Received on Tuesday, 8 October 2002 17:47:50 UTC