At end. > -----Original Message----- > From: kiuma [mailto:kiuma@;usa.net] > Sent: Friday, October 18, 2002 6:42 AM
> My solution, as pointed before doesn't work, please help! > And now I'm complitely lost. > > If i use this form: > > public void setPrincipalPermissions( String principalPermissions ) > { > this.principalPermissions = principalPermissions; > cPrincipalPermissions.add(principalPermissions); > } > public Collection getPrincipalPermissions() > { > return cPrincipalPermissions; > } > My jsp page is something like. > > <c:if test="${allGroups != null}"> > <c:forEach items="${allGroups}" var="permission"> > <tr> > <td align='left'> > <html-el:multibox property="principalPermissions" > value="${permission}"/><c:out > value='${permission}'/> > > </td> > </tr> > </c:forEach> > </c:if> If "principalPermissions" is a collection attribute, you need the following two methods in your form class: public void setPrincipalPermissions(Collection principalPermissions); public Collection getPrincipalPermissions(); Try that and see what happens. -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>