Ok, thanks.
I was thinking about using hidden fields indeed. I wanted to know if a built-in 
solution existed with Struts 2.

-----Message d'origine-----
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] 
Envoyé : mercredi 13 mai 2009 11:55
À : Struts Users Mailing List
Objet : Re: [Struts 2] Disabled fields are not posted on form submission

2009/5/13 Fernandes Celinio <cfernan...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


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

Reply via email to