ciao a tutti, premetto che NON sono una programmatrice, però vorrei chiederevi come mai una portlet che gestisce la scelta di un profilo su liferay, NON funziona (su tutte le altre pagine invece va alla grande)
il sorgente è questo:
grazie a chi avrà la pazienza...<%@ include file="/WEB-INF/jsp/include.jsp" %> <%@page import="java.util.Hashtable"%> <%@page import="java.util.Enumeration"%> <portlet:renderURL var="urlRicercaPersona"> <portletaram name="action" value="ricercaPersona"/> </portlet:renderURL> <c:set var="setUrlRicercaPersona"><%=urlRicercaPersona%></c:set> <form action="<c
ut value='${setUrlRicercaPersona}' />" method="post" id="inviaDati" name="inviaDati">
Selezionare il profilo per accedere</p> <select name="profilo" id="profilo" > <% Hashtable profiliTable=(Hashtable)request.getAttribute("prof iliTable"); if (profiliTable!=null) { Enumeration profiliTableKeys = profiliTable.keys(); while (profiliTableKeys.hasMoreElements()) { String profiliTableValue = (String)profiliTableKeys.nextElement(); String profiliTableArg = (String)profiliTable.get(profiliTableValue); %> <option value="<%= profiliTableValue%>"><%= profiliTableArg%></option> <% } } %> </select>
<input type="submit" value="accedi" id="accedi" /> </form>
saluti
k