This is an HTML-HTTP thing not a Struts thing. Disabled input elements aren't included in the get/post, just like unchecked check boxes.
Mike Deegan wrote:


Not sure the exact error you are getting, but I had a similar and going from
memory ...
when using the <html:text> tag with disable="true" for a property I had to
also code a <html:hidden> for the property being disabled
not sure if this will solve you problem - a dump of the exact exception you
are getting may shed more light

Regards
Mike


----- Original Message ----- From: "Leandro Melo" <[EMAIL PROTECTED]>
To: "struts jakarta" <[EMAIL PROTECTED]>
Sent: Sunday, August 15, 2004 11:21 AM
Subject: Problems on disabling inputs





Hi,
if i try to disable an input like this

<html:text ....   disable="true"/>

i get something like this form the browser

<input type="text" ...  disabled="disabled"/>

which, i don't know why causes my ActionForm to not
"see" the value of the specific input, and then
generate an error.

????

Leandro










--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to