aspose file tools*
The moose likes Struts and the fly likes How to submit value and reflect value in check box 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 submit value and reflect value in check box" Watch "How to submit value and reflect value in check box" New topic
Author

How to submit value and reflect value in check box

Rafael Lee
Greenhorn

Joined: Sep 06, 2003
Posts: 23
Please help with this code:

'interViewQuestions' is an ArrayList of InterviewQuestion objects with fields such as
interviewQuestionNumber
responseProvided
responseEvaluation
classified
How can I make the value of html:submit's command property be the data in the interviewQuestionNumber field, to be transmitted when clicked?
Also how can I reflect the classified status (true or false) on the checkbox using the data contained in the object's 'classified' field?
Thank you.
I've done this meantime using Java scriptlets e.g. for(){} loop. Is there any way to do it using struts/jsp tags?
Mike Blair
Greenhorn

Joined: Sep 10, 2003
Posts: 19
"I've done this meantime using Java scriptlets e.g. for(){} loop. Is there any way to do it using struts/jsp tags?"
You would think there was, wouldn't you? I have yet to see it accomplished.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to submit value and reflect value in check box
 
Similar Threads
Data grid
logic:iterate problem
help with html radio tag
logic iterate to display data on multiple columns
retrieving data from logic:iterate