Thanks, I got that working. Appreciate it.
-----Original Message----- From: Duane Rosengartner [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 16:58 To: Struts Users Mailing List Subject: DynaForms & Radio Buttons use the Id (userId,accountId)or concatination of Id|someOtherVariable as the value of the Radio button property. Then in your action you would use the value of the radio to perform further processing. In most cases, the rows are simple views of an object. The selection of the row would require you to build a more complex view of the object(built from it's ID) and send you to an edit screen. If you already have the complex model built, you need a rowId as the value, which you would use as the index of the list. Easiest way: String[] rowsSelected = form.get(propertyName); //in the action class String[] rowsSelected = get(propertyName); //in the form Going to an edit Screen? Perhaps you should use javascript to ensure only one is selected. Or use rowsSelected.size here Duane -----Original Message----- From: Enda Dowling [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 10:07 AM To: user@struts.apache.org Subject: DynaForms & Radio Buttons Hey, I am running into a problem with trying to create radio buttons with a dynamic amount of entries on the page. It is meant to be a very simple page where there are options and you just select Yes or No. The only thing is the number of options that are presented to the user is dynamic which means there needs to be a dynamic number of radio buttons present on the page. I started to use DynaForms but I don't think im configuring it correctly. The form that holds the Radio Buttons will just take need to take in the Yes or No answers as the other data is already stored in the session. What would be the best way to take those values in from the page? Thanks, Enda --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]