There is also the readonly attribute to html:text.
Erik
Leandro Melo wrote:
I don't get exception Mike, i just get the following
on my page (viewing source from the browser).
<input type="text" name="test" ...
disabled="disabled"/>
instead of getting this.
<input type="text" name="test" ... disabled="true"/>
Then, when the user submits the data, my ActionForm
understands that the input "test" is equals("").
So, it returns some action errors.
--- Mike Deegan <[EMAIL PROTECTED]> escreveu:
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
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com
conexão de qualidade! Acesse:
http://br.acesso.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
=====
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse:
http://br.acesso.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]