W3C home > Mailing lists > Public > www-forms@w3.org > October 2002

RE: readonly and setvalue

From: bhanu <bhanu_k@hotmail.com>
Date: Mon, 7 Oct 2002 12:34:36 -0700
To: "'Mikko Honkala'" <honkkis@tml.hut.fi>, "'Tomayko, Ryan'" <Ryan_Tomayko@stercomm.com>
Cc: "'Jérôme Nègre'" <jerome.negre@e-xmlmedia.fr>, "'Micah Dubinko'" <MDubinko@cardiff.com>, <www-forms@w3.org>
Message-ID: <000001c26e38$91e345d0$61ae1990@speruvemus>

If readonly is meant for display only then it should have been a CSS
property or a hint on the UIcontrol (not as a Model Item property)

Also all examples being quoted use the fact than all calculated nodes
are displayed as readonly.


-----Original Message-----
From: Mikko Honkala [mailto:honkkis@tml.hut.fi] 
Sent: Monday, October 07, 2002 1:42 AM
To: Tomayko, Ryan
Cc: Jérôme Nègre; Micah Dubinko; 'bhanu'; www-forms@w3.org
Subject: Re: readonly and setvalue

Hi Tomayko,

very good point. I have implemented "readonly" similarly. I have also 
made demos with similar functionality as you describe.

In my opinion, this is so important feature that the spec should not 
retrict the processor to change values marked "readonly". "readonly" 
should affect just the UI. It seems that at least 3 implementors have 
implemented it that way for a reason.


Tomayko, Ryan wrote:
> Another example of why you would want readonly only to apply to the UI
> calculating values. For instance, you my want to display a list of
> line items and allow the user to input the quantity and unit price for
> 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
>>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 Monday, 7 October 2002 15:35:46 UTC

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