Greetings everyone!! I'm working with spring/appfuse, I have a relationship many-to-many Person-Activity.. just like User-Roles .. and I'm doing the same thing in the PersonForm.jsp ... I have a 2 list boxes where one list has the activities availables and the other list has the current activities a person has... I'm using the picklist.jsp just like the userForm uses it... it is pretty much the same... but here it goes my question... I've seen that in the userFormController .. the way to get the roles to add it is through a request.getParameterValues("userRoles") ... I've tried to do the same thing.. but.. it doesn't work.. I think I problably misunderstood this method.. or the way the roles are saved to a User ... can someone explain me??
This is the part where I have my 2 listbox <li> <fieldset class="pickList"> <legend><fmt:message key="datosDia.actividades"/></legend> <table class="pickList"> <tr> <th class="pickLabel"> <dif:label key="datosDia.actividadesDisponibles" colon="false" styleClass="required"/> </th> <td></td> <th class="pickLabel"> <dif:label key="datosDia.actividadesAsignadas" colon="false" styleClass="required"/> </th> </tr> <c:set var="leftList" value="${availableActivities}" scope="request"/> <c:set var="rightList" value="${datosDia.beneficiarioActividades}" scope="request"/> <c:out value="${beneficiarioActividades}" /> <c:import url="/common/pickList.jsp"> <c:param name="listCount" value="1"/> <c:param name="leftId" value="availableActivities"/> <c:param name="rightId" value="${datosDia.beneficiarioActividades}"/> </c:import> </table> </fieldset> </li> Thanks Hazel Q. -- View this message in context: http://www.nabble.com/List-in-JSP---getParameterValues-tf3324009s2369.html#a9241007 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]