Hi,

I have a form that has an <html:select> tag that looks like this:

<html:select property="permissions" multiple="true" size="10" tabindex="5">
    <html:options collection="allPermissions" property="permissionId"
        labelProperty="permissionName"/>
</html:select>

This renders out as intended but when I submit my form to an ActionForm that
has a method that looks like this:


public void setPermissions( String[] permissions ) {
        Integer permissionId = null;
        for (int i = 0; i < permissions.length; i++){
            permissionId = new Integer(permissions[i]);
            this.permissions.add( new PermissionData(permissionId, null) );
        }
    }

This essentially takes the permissions and adds them to a Collection. For
some reason though, the permissions String[] is null. Why isn't this getting
submitted?

thanks for your help

Jordan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to