Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editable Text Box with Value

 
subhasish nag
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
paddy Mahadeva Iyer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic