struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: BaseFieldTag
Date Thu, 22 Mar 2001 20:21:39 GMT


On Thu, 22 Mar 2001, David Winterfeldt wrote:

> The disabled attribute sounds best if enought browsers
> support it, but if they don't what if readonly wasn't
> an html attribute, but a Struts one and if it was
> 'true' the field could written out as text?  I don't
> know know if this has already been suggested or not.
> 

Two Issues:

(1) Render as text only

This idea is appealing for text or textarea type fields, if we are willing
to accept the difference in visual appearance.  But how would you render
disabled checkbox, radio button, or combo box controls?  Or would it be
acceptable to only use disabled on text and textarea?

(2) Standard compliance

So far, 100% of the HTML code that Struts tags generates is compliant with
the HTML 4.01 specification.  This will become more important if and when
XHTML becomes more popular, because you can then validate conformance.  To
me, this is an important principle.  What do you think?

> David

Craig


Mime
View raw message