salve a tutti,
sto provando con il tag logic, in pratica (so come si utilizza) mi chiedevo se fosse possibile ciclare su + proprietà di un bean form. Mi spiego meglio,
ho un form bean struts nel quale ho dichiarato e definito tre array di stringhe
dovrei ciclare su uno qualsiasi degli array verificando che nn sia vuoto, ad esempio tipocodice:public etc etc.nomebean etc. etc.{ string[] tipo string[] dataDa string[] dataA }
nella jsp scrivo:
codice:<logic:iterate id="tipo" property="tipo" name="nomebean" type="java.lang.String"> qui vorrei recuperare i valori dei tre array ed inserirli in <html:text> <html:text name="nomebean" property='tipo' styleClass="DSAGRW_INPUT_TEXT" size="7" onkeyup="return composeDate(this,7);" maxlength="7"/> <html:text name="nomebean" property='dataA' styleClass="DSAGRW_INPUT_TEXT" size="7" onkeyup="return composeDate(this,7);" maxlength="7"/> <html:text name="nomebean" property='dataDa' styleClass="DSAGRW_INPUT_TEXT" size="7" onkeyup="return composeDate(this,7);" maxlength="7"/> </logic:iterate>
MI STAMPA NELLE TEXT GLI INDIRIZZI DI MEMORIA :-(
S.O.S.

Rispondi quotando

