You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Radhika Nadkarni <na...@hotmail.com> on 2002/06/11 10:31:03 UTC

DynaActionForm initialization

HI,
1) My reqt. is pretty very simple. I want to make a text field premanently 
disable. But, when I use <html:text property="name" disabled />, the field 
becomes invisible. How can I use the disabled attribute of html:text tag ?

2) How can I initialize a field using DynaActionForm ?

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: DynaActionForm initialization

Posted by James Mitchell <jm...@telocity.com>.
Check the syntax of disabled in the docs.

http://jakarta.apache.org/struts/api/

Remember, tags require xml syntax....you must use key="value"


Sure, I could have just given you the answer, but then you'd be back
later with more questions that you can answer (quite easily) by clicking
on a few frames.

Good luck!!!

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -----Original Message-----
> From: Radhika Nadkarni [mailto:nadkarnir@hotmail.com]
> Sent: Tuesday, June 11, 2002 4:31 AM
> To: struts-user@jakarta.apache.org
> Subject: DynaActionForm initialization
>
>
> HI,
> 1) My reqt. is pretty very simple. I want to make a text field
> premanently
> disable. But, when I use <html:text property="name" disabled />,
> the field
> becomes invisible. How can I use the disabled attribute of html:text tag ?
>
> 2) How can I initialize a field using DynaActionForm ?
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>