• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to submit value and reflect value in check box

 
Rafael Lee
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic