Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set value for Textbox,RadioButton,checkbox

 
xinglee vn
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !
I want to set value for Textbox(RadioButton/checkbox) with data from a bean . I write like this :
<bean efine id="abc" name="beanname"/>
<html:text property="usernameText" name="abc" value="name">
but the result is not right . If you had done these, please show me how . This is very important with me .
Thanks alot
 
Davet Kamerbeek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

can you give the code from the struts-config.xml file and the code from you bean (getters and setters)

maybe there's a typo in you configuration file..
[ December 08, 2004: Message edited by: Davet Kamerbeek ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic