struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: [Struts 2] Disabled fields are not posted on form submission
Date Wed, 13 May 2009 09:54:57 GMT
2009/5/13 Fernandes Celinio <cfernandes@sopragroup.com>:
> How do i submit the value of a disabled text field ?
> Is there an interceptor that already takes care of it in Struts 2 ?

By HTML spec, disabled fields aren't send to a server, it isn't Struts
issue but general rule. You can consider to use readOnly attribute or
use hidden fields


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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


Mime
View raw message