struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: Problems on disabling inputs
Date Sun, 15 Aug 2004 23:31:19 GMT
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 <mpdeegan@hotmail.com> 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" <ltcmelo_java@yahoo.com.br>
>>To: "struts jakarta" <user@struts.apache.org>
>>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:
>>>      
>>>
>>user-unsubscribe@struts.apache.org
>>    
>>
>>>For additional commands, e-mail:
>>>      
>>>
>>user-help@struts.apache.org
>>    
>>
>>>      
>>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>user-unsubscribe@struts.apache.org
>>For additional commands, e-mail:
>>user-help@struts.apache.org
>>
>> 
>>    
>>
>
>=====
>
>
>
>	
>	
>		
>_______________________________________________________
>Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>

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


Mime
View raw message