Re: how to dynamically generate select options from arrays

2002-11-13 Thread matthew yee-king
did a RTFM and solved it: the session scope bean instance name is currentUser, the array is availableGroups... (property="group" refers to a property in an ActionForm that deals with this form) cheers matthew On Wed, 13 Nov 2002 11:24:18 + matthew yee-king <[EMAIL PROTECTED]>

how to dynamically generate select options from arrays

2002-11-13 Thread matthew yee-king
Hello list people I'm using struts 1.0. I have a User object with a string array availableGroups. I want to generate a select options list from this array in a jsp. Using a session bean of type User named currentUser, I can iterate the array like this: but i can't work out how to do the sa