Ciao,
io ho lo stesso problema che aveva riscontrato Anuelicon e a cui poi non è stato risposto.
In pratica sono all'interno di un iterate e devo recuperare un campo tramite java per usarlo più avanti:
In pratica è la riga in grassetto il problema. Devo aver il valore della property per usarla in seguito all'interno del select.codice:<logic:iterate id="myId" name="myForm" property="myList"> <% // Creo la stringa da mettere String elenco = ""; elenco = <jsp:getProperty name="myId" property="desc"/> elenco += "_" + String.valueOf(Constants.OPTIONS); %> <tr height="25"> <td align="right"><jsp:getProperty name="myId" property="desc"/></td> <td align="left"> <html:select styleClass="normal10" name="myId" property="selectId"> <html:option value="<%= String.valueOf(Constants.SELECT_VALUE) %>"> <bean:message key="common.label.select" /> </html:option> <logic:present name="<%= elenco %>"> <html:options collection="<%= elenco %>" property="value" labelProperty="label" /> </logic:present> </html:select> </td> </tr> </logic:iterate>
Qualcuno mi sa aiutare?
Grazie