You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frers Michael <fr...@Sisis.de> on 2003/12/10 09:43:50 UTC

iterate over string array and html:text tag

hello

i probalbly have a simply question but i dont get it working

i have a bean which i use as a action form

public class SearchBean extends ActionForm{
private String[] searchString;
//+ getter setter methods
...
}

now i want to present this searchString in jsp page in input field
i made it as followas
<logic-el:iterate collection="${AdvancedSearchForm.searchString}" id="val"
indexId="ctr">
<input type=text name=searchString[<c:out value="${ctr}"/>] value=<c:out
value="${val}"/>>
</logic-el:iterate>

how can i use instead of the handcoded html text the html:text tag?

Thx for any help
i tried now 10 differernt version all with no success


Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org