Hello. I know it's really simple but I cannot make it works. What I want to do is to put a radio button with two options, in a form. The attribute that will be set by selecting one of the two options is a boolean. That's it, simpy a true/false choice. 1) Is it possible to declare a static list directly in the JSP without the callback to the action to get a Map with such boolean values?
2)If it is not possible, how can I do that. I tried to put a Map<String,Boolean> called options in my Action and put that in the jsp: <s:radio id="subChoice" labelposition="top" key="ManualUploadForm.6" name="c_sub" list="options"></s:radio> where c_sub is a the boolean variable I want to set by choosing an option. It does not work. In the log I get: tag 'radio', field 'list', id 'subChoice', name 'c_sub': The requested list key 'options' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] Please help. Thano you very much. -- View this message in context: http://www.nabble.com/Radio-button-with-two-boolean-choices-tp15741338p15741338.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]