Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Dale Newfield
Or just create an onsubmit function that de-disables the appropriate fields before submission. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Dave Newton
Fernandes Celinio wrote: I wanted to know if a built-in solution existed with Struts 2. Nope, nothing in Struts 2 will change the HTML spec or how browsers are implemented. Dave - To unsubscribe, e-mail: user-unsubscr...@s

RE: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Fernandes Celinio
truts 2] Disabled fields are not posted on form submission 2009/5/13 Fernandes Celinio : > 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 Stru

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Lukasz Lenart
2009/5/13 Fernandes Celinio : > 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 us

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Nils-Helge Garli Hegvik
Are you sure that you really want to disable it? Can you use a hidden field, or hide the field with css, if you're just trying to hide it from the user? Nils-H On Wed, May 13, 2009 at 11:28 AM, Fernandes Celinio wrote: > Hi, > > Disabled fields by W3 specifications will not get posted on form >