struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <>
Subject Re: Setting html:text readonly attribute
Date Mon, 03 May 2004 21:00:35 GMT
Riyad Kalla wrote:

>Whats the diff between readonly and "disabled=true", I've been using the 
In the terminology of the HTML Specification [1], a "disabled" control 
disallows user input *and* the field will not be "successful" on a form 
submit.  In other words, there will be no corresponding request 
parameter.  A "readonly" field [2] also disallows user input, but the 
request parameter for this field will still be returned (sort of a 
visible version of an <input type="hidden"> field).  There are also a 
few other minor differences that you can see in the spec language.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message