This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes How to set value for Textbox,RadioButton,checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to set value for Textbox,RadioButton,checkbox" Watch "How to set value for Textbox,RadioButton,checkbox" New topic
Author

How to set value for Textbox,RadioButton,checkbox

xinglee vn
Greenhorn

Joined: Jul 09, 2003
Posts: 9
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

Joined: Dec 08, 2004
Posts: 1
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set value for Textbox,RadioButton,checkbox
 
Similar Threads
Dynamic names for checkbox
Checking Checkbox values in indexed form
accessing Array of radiobutton array
bean:define with bean:write
How to populate a value in text box