| Author |
problem with radio buttons in nested forEach loop
|
Profs Mulay
Greenhorn
Joined: Jul 06, 2007
Posts: 3
|
|
Hi all, Resently joined this group! I am facing problems in dynamically naming the radio buttons in the following code. here all the radio buttons are considered as options for one question. Like when I select one radio button in question one and then try to select one from another question the first question's radio button gets deselected Please tell me if there is any solution! I have no problems with EL and JSTL My code is as follows........ Thanks and regards, Prof's [BSouther: Added UBB CODE tags] [ August 08, 2007: Message edited by: Ben Souther ]
|
 |
Profs Mulay
Greenhorn
Joined: Jul 06, 2007
Posts: 3
|
|
Sorry guys it seems that the EL is not recognized in the <input type= "radio" name="${Question}" /> when I saw the source using view source it was still name="${Question}" while as per my expections it should have been name=one or neme =two or name=three
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
What version of the JSP spec does your container support?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Profs Mulay
Greenhorn
Joined: Jul 06, 2007
Posts: 3
|
|
hello, I got the answer! I needed to use c ut in the value attribute of the button Thanks,
|
 |
 |
|
|
subject: problem with radio buttons in nested forEach loop
|
|
|