JSF Training
Can anyone suggest a good JSF trainning course? Thanks, Natalie Rassmann
RE: Default values for Multiple Select
Paul, I am dealing with a multiple select tag... Ie html:select property=userroles multiple =true html:optionsCollection property=userroles / /html:select Natalie -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 7:11 PM To: Struts Users Mailing List Subject: Re: Default values for Multiple Select Natalie, Your question isn't clear If you're dealing with multiple checkboxes, the property backing them should be a String[] so you can capture all the values selected. If you're dealing with multiple options of a radio group, only one option will ever be selected. Paul __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ - 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]
Default values for Multiple Select
Hi - I am trying to get the default values for a multiple select to work when more than one option is selected. It seems as though I only can get one of the options marked as selected when several are actually selected.Has anyone run into this before? Can anyone help me? Natalie Rassmann Collaborative Environments Support Systems (CESS) Lockheed Martin Maritime Systems Sensors (MS2) 199 Borton Landing Road Moorestown, NJ 08057-0927 Mail Stop 6000-7 Phone: (856)608-3177 Cell: (609)865-3613 FAX: (856)608-3198
indexed property not working
Hi - I have an arraylist within an arraylist and I am trying to iterate throught it. When I use indexed on the item; it doesn't seem to be indexing the name. Here is a code snippet: logic:iterate id=testProceduresList name=crPacketForm property=testProceduresList indexId=i c:forEach items=${crPacketForm.map.tstProcSteps[i]} var=steps varStatus=idx html-el:textarea name=steps property=action rows = 5 cols=80 indexed=true/ /c:forEach /logic:iterate When I look at the generated source code I see the following being generated: textarea name=steps[0].action cols=80 rows=5Start ACTS MK51 by bringing up the system. Init a scenario run a ACTS exercise. /textarea textarea name=steps[0].action cols=80 rows=5ddaf/textarea Every textarea for the property action has steps[0] instead of steps[0], steps[1], etc. The indexing does not seem to be working? Does anyone have any ideas Natalie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]