File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Editable Text Box with Value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Editable Text Box with Value" Watch "Editable Text Box with Value" New topic

Editable Text Box with Value

subhasish nag
Ranch Hand

Joined: Apr 25, 2008
Posts: 101
How can I create a textbox which will be populated from formbean and will show those datas .I have tried with the code given belowbut unable to display those datas in textbox.

Thanks,<br />Subhasish
paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
i am not so clear with struts 1 tags but i think you should be trying to set the value in the property to the "value" attribute on <html:text> for it to display
Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
You'll want to take the bean:write out and specify the name of your form bean in the name attribute of the text tag and the name of the property you want in the property attribute.
I agree. Here's the link:
subject: Editable Text Box with Value
It's not a secret anymore!