RE: populating textbox with bean property

2003-02-26 Thread Sri Sankaran
Just like you did with the bean:write.

html:text
  name=system
  property=name
  size=50/

Or am I missing something from your question?

Sri

-Original Message-
From: Chonalal, Anil (Contractor) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 26, 2003 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: populating textbox with bean property


Hi, I am new to struts and just trying to find out how to populate a textbox with a 
bean property, for example I have the following:

bean:write name=system property=name /

and would like the textbox value to be the name of the system:

tdhtml:text property= size=50//td

does anyone know how to do this?

Cheers.

Anil

-
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]



RE: populating textbox with bean property

2003-02-26 Thread Chonalal, Anil (Contractor)
Thanks for that, I did the same before and was getting some exception, but
it works fine now.

Cheers.

Anil 

-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 14:31
To: Struts Users Mailing List
Subject: RE: populating textbox with bean property


Just like you did with the bean:write.

html:text
  name=system
  property=name
  size=50/

Or am I missing something from your question?

Sri

-Original Message-
From: Chonalal, Anil (Contractor) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 26, 2003 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: populating textbox with bean property


Hi, I am new to struts and just trying to find out how to populate a textbox
with a bean property, for example I have the following:

bean:write name=system property=name /

and would like the textbox value to be the name of the system:

tdhtml:text property= size=50//td

does anyone know how to do this?

Cheers.

Anil

-
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]

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