You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/04/06 09:55:54 UTC

DO NOT REPLY [Bug 21603] - Automatic readonly/disabled settings in struts-html

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21603


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.1.2 Milestone




------- Additional Comments From niallp@apache.org  2005-04-06 09:55 -------
I've implemented this in the current development version (1.3) and ported it to 
the 1.2.x branch.

Two new attributes added to the FormTag - "disabled" and "readonly".

Most Struts HTML tags now check if the FormTag's disabled attribute is set to 
true (ImgTag, LinkTag and the 'options' tags don't) and if so, render their 
disabled attribute.

Three HTML tags now check if the FormTag's readonly attribute is set to true 
and if so, render their readonly attribute - those are the TextTag, TextareaTag 
and PasswordTag. These were the only existing tags which had the 'readonly' 
attribute - which is as per the HTML 4.0 specification.

The EL taglib has been updated to include the new FormTag attributes.

Should be available to try out in the next nightly build here:

http://svn.apache.org/builds/struts/maven/

Niall

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org